This is meant to be a dev thread, not an end-user thread. Please keep this on-topic. End-user support and VM670 development are off-topic.
For the more user and Optimus V (VM670) oriented thread please check in here:
http://forum.xda-developers.com/showthread.php?t=1176888
If you are working on porting the phone to the VS660, LW690, US670, or MS690 with the eventual goal of inclusion in the IHO repository please check in here.
I'm trying port this for the ms690. I'll admit it's a bit over my head but I have a rooted and flashed M and a rooted but stock M at my disposal and a working android development environment.
My rom is compiling now after fixing the typo in the mms_config.xml. I would like to help get the proper changes in the IHO repo if I get this working, but I have absolutely no idea how all that works.
I'll update here if I get my rom compiled and let ya know how it runs. Anyone know how long it should take to completely compile a rom error free? I'm running 2 dual core xeons at 2ghz... This is a long compile for a >100MB file, heh.
Has anyone successfully ported using Ubuntu 11.xx on a 32 bit, vmware setup? I got it to work with wubi, but that messed up my windows. Can you run Ubuntu off of a thumb drive but use your hard drive for storage?
Sent from my LG-VM670 using XDA App
1. I thought you couldn't successfully compile on 32 bit since 2.2
2. Setting up a development environment in vm? or on a flash drive? Do you really deserve that kind of punishment?
I guess you could build on a persistent usb but but it sounds scary to me. I don't know if you could properly mount a drive in live usb, seems like you would need your build folder on a hdd or a 32gig flash.
Backup your stuff and throw on an ext partition. Your building will be easier in a native environment and a clean windows install never hurts.
My compile is stopped. I've been poking around and I don't think I'm gonna figure this out like all the other BS I've figured out.
GRRR this is ****ing stupid, tried to post my error but the forum thinks that xxx.xml is a web address and wont let me post cuz I don't have enough posts. If anyone can help me shoot me a PM I'm not gonna spam the forums to get my posts to post a ****ing error log. If I ever met a spammer I would kick him in the nuts for all the bull**** I have to deal with because of the crap...
pbailey212 said:
Has anyone successfully ported using Ubuntu 11.xx on a 32 bit, vmware setup? I got it to work with wubi, but that messed up my windows. Can you run Ubuntu off of a thumb drive but use your hard drive for storage?
Sent from my LG-VM670 using XDA App
Click to expand...
Click to collapse
I use a 32-bit version of whatever the LTS version is with VirtualBox. 10.04?
Sent from my LG-VM670 using XDA App
blarfiejandro said:
I use a 32-bit version of whatever the LTS version is with VirtualBox. 10.04?
Sent from my LG-VM670 using XDA App
Click to expand...
Click to collapse
I was thinking about downgrading Ubuntu and trying it, I'm on Ubuntu 11.xx now. I would like to keep the vmware setup, I like just minimizing vmware to go back and forth to windows. Plus everything's transferable between the 2 os'
Sent from my LG-VM670 using XDA App
Update: Its creating the zip file now, I just needed to up the ram available to vmware, I wish I would have tried that a week ago, thanks for hearing me ***** and moan about this
pbailey212 said:
I was thinking about downgrading Ubuntu and trying it, I'm on Ubuntu 11.xx now. I would like to keep the vmware setup, I like just minimizing vmware to go back and forth to windows. Plus everything's transferable between the 2 os'
Sent from my LG-VM670 using XDA App
Update: Its creating the zip file now, I just needed to up the ram available to vmware, I wish I would have tried that a week ago, thanks for hearing me ***** and moan about this
Click to expand...
Click to collapse
I had problems setting up a good build environment with 11.04, but 10.10 64 bit with VMware works great for me on Windows 7 64 bit.
EDIT: I forgot to mention that if anyone want to try my Optiums Cricket version they can grab it here: http://www.mediafire.com/?vcfc5jtwncsxkzg
I don't own a OC, I built it for a friend. He tells me that GPS, BT, and MMS are not working.
So I got my very own zip file, backed, wiped flashed, my phone told me It was "bad" so I went and restored my backup it said bad md5, I thaught no big deal, I keep a couple backups handy, all 3 of them said bad md5. I restored them before just fine, I don't know what's going on, I should just give up, but I'm stupid and enjoy a challenge. I guess I will start completely fresh again. "Goin back to compile"
Sent from my LG-VM670 using XDA App
somedood81 said:
I'm trying port this for the ms690. I'll admit it's a bit over my head but I have a rooted and flashed M and a rooted but stock M at my disposal and a working android development environment.
My rom is compiling now after fixing the typo in the mms_config.xml. I would like to help get the proper changes in the IHO repo if I get this working, but I have absolutely no idea how all that works.
I'll update here if I get my rom compiled and let ya know how it runs. Anyone know how long it should take to completely compile a rom error free? I'm running 2 dual core xeons at 2ghz... This is a long compile for a >100MB file, heh.
Click to expand...
Click to collapse
It'll probably take a couple of hours to compile. The easiest way to get everything included is to file a pull request on Github. Keep in mind I'm not going to accept any applications (so that rules out the real popular MMS patches floating around for the C and M). Most of the stuff for the M is already in the tree, I believe...
Some of the other stuff like cnd probably won't get fixed /just/ yet, but I'll rename the keymap file. What else did you have to change?
pbailey212 said:
So I got my very own zip file, backed, wiped flashed, my phone told me It was "bad" so I went and restored my backup it said bad md5, I thaught no big deal, I keep a couple backups handy, all 3 of them said bad md5. I restored them before just fine, I don't know what's going on, I should just give up, but I'm stupid and enjoy a challenge. I guess I will start completely fresh again. "Goin back to compile"
Sent from my LG-VM670 using XDA App
Click to expand...
Click to collapse
Someone mentioned that IHO wasn't computing checksums properly in the general dev thread. Try using another recovery and/or making sure your build box isn't on its way out?
Anyhow I'm using a 32-bit Ubuntu 10.04.3 VM to build everything and it works just fine for me (definitely need to throw some more RAM at the machine tho).
blarfiejandro said:
It'll probably take a couple of hours to compile. The easiest way to get everything included is to file a pull request on Github. Keep in mind I'm not going to accept any applications (so that rules out the real popular MMS patches floating around for the C and M). Most of the stuff for the M is already in the tree, I believe...
Some of the other stuff like cnd probably won't get fixed /just/ yet, but I'll rename the keymap file. What else did you have to change?
Click to expand...
Click to collapse
I had to fix a typo on a tag in the mms_config.xml, I think using the cnd from the V was a no no, so i commented out the cnd in the build. There was an extra space in a string in an xml file I can't remember that needed removed. Other than that I just put in the ko files and the gps libs and it was building fine.
I fixed the last error I had which was about 2.5 hours into the build and started the compile over... Then my workstation shut down. It refuses to even post. Tried a new video card to no avail. Dual xeon running rambus ram, LOL. Don't have any parts laying around for it other than drives and video cards.
My port is kind of stalled at the moment, heh.
Just thinking out loud:
Has anyone done a build for the MS690(Metro version)?
Is the "LG Optimus One, P500, > Optimus V Android Development" thread for all Optimus phones? Or just the V?
I was working on the ms690 b4 my linux box died. There are a couple of us working on it.
somedood81 said:
I was working on the ms690 b4 my linux box died. There are a couple of us working on it.
Click to expand...
Click to collapse
Do you have a CWM recovery?
What wasn't working on your ROM?
My first attempt gave me this: make: *** [out/target/common/obj/APPS/Mms_intermediates/src/R.stamp] Error 1
BobZhome said:
Do you have a CWM recovery?
What wasn't working on your ROM?
My first attempt gave me this: make: *** [out/target/common/obj/APPS/Mms_intermediates/src/R.stamp] Error 1
Click to expand...
Click to collapse
That was the last error I was working with actually. Don't know if I had it fixed.
The op m can't use CWM recovery. We have 2 custom ones, joneidys recovery and getitnowmarketing recovery.
somedood81 said:
That was the last error I was working with actually. Don't know if I had it fixed.
The op m can't use CWM recovery. We have 2 custom ones, joneidys recovery and getitnowmarketing recovery.
Click to expand...
Click to collapse
Can't use CWM? All other Optimus phone do!
Sent from my VM670 using Tapatalk
I don't know the details of why, here is a thread on it:
http://androidforums.com/optimus-m-all-things-root/352401-do-not-use-clockwork-mod-rom-manager.html
It would be cool if someone could figure out the problem and fix it...
BobZhome said:
Do you have a CWM recovery?
What wasn't working on your ROM?
My first attempt gave me this: make: *** [out/target/common/obj/APPS/Mms_intermediates/src/R.stamp] Error 1
Click to expand...
Click to collapse
Sounds like you need to have the proper MMS overlays in the device folder. Maybe.
blarfiejandro said:
Sounds like you need to have the proper MMS overlays in the device folder. Maybe.
Click to expand...
Click to collapse
The overlay/MS690/packages/apps/Mms/res/xml/mms_config.xml has a bad string.
Profile<string/> needs to be changed to Profile</string>
I posted a comment on your git.
I compile my 0.1 kernel and trying an other MS690 build.
Blarf, can you look at these two pastebin to see if you see anything wrong.
There are problems with my LW690 builds, wifi produces an error and camera is broken.
wifi - http://pastebin.com/hMmhH9Bk
camera - http://pastebin.com/ukSGQaWz
Bluetooth wasn't working and when I used the MS BT file it worked, do you think by using the MS BT in the LW is giving me the wifi problem?
Thanks for the help,
Bob
Related
Disclaimer: I didn't create Boot Manager and am not affiliated with the developers in anyway.
I didn't see anyone posting this yet so I figured some of you might be interested.
There's an app on the market now called Boot Manager that's 2.99 and allows you to dual boot up to 5 roms. You still have your main rom which is stored directly in your phone's memory and then up to four more that are stored and run from your sdcard. Because you're running secondary roms from your sdard those may not run as fast as your main phone rom but my preliminary testing has been pretty good.
Boot manager is simple to set up and use and requires no special skills. You don't even need to partition your sdcard.
All you have to do is put whatever roms you wish to run on your sdcard and then install them through Boot Manager. Initially setting up the roms takes maybe 15 minutes but once your done you can boot back and forth very quickly, much faster than doing nandroids.
Enjoy
Update: I'm now running 2 AOSP roms Kushdeck's 1.3b2(main rom) and SalvageMod 1.4 and a Sense rom SynergyRls1 and haven't noticed any major issues. Gps works on each rom as well as 4g. Synergy does have some lag and for this reason took some patience and a little longer to initially set up but it works decently for running off of an sdcard. On a side note I've heard claims that Synergy does have some lag issues running normally.
I plan on ordering a better sdcard with a faster class rating such as class 4 or 6 so hopefully this will decrease lag but overall I'm very impressed with Boot Manager. If nothing else this gives you a chance to test drive roms without having to go through the whole process of replacing your daily driver.
PLEASE READ: I've reached out to one of the developers of this app who's from XDA and asked for his help in answering the problems some of you are having. I wish I could help more especially since this a paid app and you guys deserve to have an app that work. Below are the links to email support through the app website as well as the one of the developers Conap who's from XDA. Maybe if they receive enough emails they will shoot over to this thread to help.
Sorry I can't help more. All I can do is verify that it's working on my Evo but don't have enough advanced skills to do a lot more.
App Support Address: [email protected]
Conap Contact (One of the Devs from XDA): http://forum.xda-developers.com/member.php?u=2468293 (I just pm'd him)
aerajan said:
Disclaimer: I didn't create Boot Manager and am not affiliated with the developers in anyway.
I didn't see anyone posting this yet so I figured some of you might be interested.
There's an app on the market now called Boot Manager that's 2.99 and allows you to dual boot up to 5 roms. You still have your main rom which is stored directly in your phone's memory and then up to four more that are stored and run from your sdcard. Because you're running secondary roms from your sdard those may not run as fast as your main phone rom but my preliminary testing has been pretty good.
Boot manager is simple to set up and use and requires no special skills. You don't even need to partition your sdcard.
All you have to do is put whatever roms you wish to run on your sdcard and then install them through Boot Manager. Initially setting up the roms takes maybe 15 minutes but once your done you can boot back and forth very quickly, much faster than doing nandroids.
Enjoy
Click to expand...
Click to collapse
Fantastic alternative to being able to update prl/data profile on aosp considering that functionality hasn't been adapted to aosp yet.
mattykinsx said:
Fantastic alternative to being able to update prl/data profile on aosp considering that functionality hasn't been adapted to aosp yet.
Click to expand...
Click to collapse
Yea that's a good point. I'm running Kushdeck's 1.3b2 gb aosp as my main rom and didn't even think of that.
https://market.android.com/details?id=com.drx2.bootmanager
Alright, this looks really great. Love the idea. Just wondering for those who have it, since there are different kernels associated with each ROM (going from CM to Synergy) would you have to go back in and wipe battery stats? Also, would vipermod carry from ROM to ROM or would you need to set it up for every ROM?
How much room on the SD card would you need to boot 5 ROMS?
edit: quite a bit of room, have over a gig on sd card and can't load synergy. Have to do some cleaning later. Wish it could import nands, that would rock.
edit 2: cleared room, installed synergy on slot 1, rebooted, hanging on evo 4g screen..... bah
Im trying this now. I have Mikg as my phone rom and installing miui as a test. Will report back when I do some testing on kernals and battery life.
I'm getting error on editing boot.img when trying to install salvage.
Edit: even though this is an app, someone move it to the dev section. Needs more attention.
Sent from my PC36100 using XDA Premium App
i need some more instructions. What are we supposed to wipe in the Rom Installer section? Also, how do you flash Gapps?
hasn't worked yet, boo... 2 battery yanks and nand restores
Edit: Got into salvagemod from synergy through the app. Didn't flash the Gapps, so it wouldn't recognize the app, so when I tried to go back to the "phone ROM", I get a "boot.img failed to flash, not rebooting" error.
yeah crazy... stuck in splash screen sooooo yay no bueno thus far...
locoboi187 said:
I'm getting error on editing boot.img when trying to install salvage.
Edit: even though this is an app, someone move it to the dev section. Needs more attention.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Try doing it again. I've had that happen. Also the developer does state that not all roms will work. I've had 1 so far not work but I know Salvage works because I'm running it as a secondary right now.
alaman68 said:
i need some more instructions. What are we supposed to wipe in the Rom Installer section? Also, how do you flash Gapps?
hasn't worked yet, boo... 2 battery yanks and nand restores
Edit: Got into salvagemod from synergy through the app. Didn't flash the Gapps, so it wouldn't recognize the app, so when I tried to go back to the "phone ROM", I get a "boot.img failed to flash, not rebooting" error.
Click to expand...
Click to collapse
Good question. That confused me first also. You only need to do wipes if you're installing a new rom over an original one in a slot. If the slot is empty you don't need to do any wipes.
I can't address the other problem since I'm not technically proficient enough with the app yet to give you suggestions. Sorry
To flash gapps just install the rom but don't reboot install gapps over the rom in the same slot.
jbrawley1 said:
yeah crazy... stuck in splash screen sooooo yay no bueno thus far...
Click to expand...
Click to collapse
Try doing it again or try another rom. My first tries didn't work either. Also as I mentioned above the developer says this doesn't work with all roms yet.
It takes a while. Since it's booting from your sdcard it's not quite as fast the first time as when you normally flash a rom. Mine stayed on splash screen for a little while to the first time I rebooted. Also try another rom just to see if that works for you.
aerajan said:
Try doing it again. I've had that happen. Also the developer does state that not all roms will work. I've had 1 so far not work but I know Salvage works because I'm running it as a secondary right now.
Good question. That confused me first also. You only need to do wipes if you're installing a new rom over an original one in a slot. If the slot is empty you don't need to do any wipes.
I can't address the other problem since I'm not technically proficient enough with the app yet to give you suggestions. Sorry
To flash gapps just install the rom but don't reboot install gapps over the rom in the same slot.
Try doing it again or try another rom. My first tries didn't work either. Also as I mentioned above the developer says this doesn't work with all roms yet.
Click to expand...
Click to collapse
Ext2 or ext4?
Sent from my PC36100 using XDA Premium App
Omfg will download and test this out ASAP and report back results!!
Sent from my PC36100
locoboi187 said:
Ext2 or ext4?
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Ext 2 because it's compatible with more roms.
aerajan said:
Ext 2 because it's compatible with more roms.
Click to expand...
Click to collapse
still no go, error building the boot
Sent from my PC36100 using XDA Premium App
Ok, well I've contacted one of the developers of this app who's also from XDA to see if he will come over here to answer some questions since I'm not able to help as much as I wish and you guys paid for this.
Also if you go back to OP I've posted links to email support or one of the devs who's from XDA. I pm'd him personally asking if he's willing to shoot over here and try to help. If you get the time send him a PM. Maybe if enough people from here contact him he will help.
aerajan said:
Ok, well I've contacted one of the developers of this app who's also from XDA to see if he will come over here to answer some questions since I'm not able to help as much as I wish and you guys paid for this.
Click to expand...
Click to collapse
Thanks
Sent from my PC36100 using XDA Premium App
It does not work on my evo. tried everything but it errors out while finishing building the rom.
Their description does say which phones it supports and EVo is not on there. They probably wont respond to any evo users (at least according to their description, since its a non supported phone).
pottyvick said:
It does not work on my evo. tried everything but it errors out while finishing building the rom.
Their description does say which phones it supports and EVo is not on there. They probably wont respond to any evo users (at least according to their description, since its a non supported phone).
Click to expand...
Click to collapse
I wonder what steps the other guy took to get it working on his evo
Sent from my PC36100 using XDA Premium App
well... ive gotten this to work with Miui as main rom, and Synergy Kingdom port 7/23 but confirmed i dont believe that synergy rls 1+God Mode ive tried tons this wont work...
pretty cool you can switch between aosp and sense pretty easily i like this lots hope in the future it becomes more stable and compatible!
Basically, does Heimdall support this phone? I have a Mac/Ubuntu, and dislike having to use someone else's computer to flash stuff that isn't flashable with cwm.
Sent from my Herculean Juggernaut.
Not yet, but I asked in another thread (an OS X thread asking the same thing) for someone to post a USB log of ODIN attaching to the device. Actually, a full log of it attaching and also updating would be useful but probably large. Since log data like that is plain-text and very repetitive, it would probably compress well.
Also, I've opened an issue at the Heimdall github (issue #29). I can't post a URL because my XDA account is too new, but I've poked around in the code and it should be straighforward to implement (Benjamin did a pretty good job making it readable).
I'm going to try to do that implementation once I have the data.
Thanks for replying.
Sent from my HëЯ¢ú1ëλN júGGëЯNλú+!
Here is something that would be really awesome
http://forum.xda-developers.com/showthread.php?t=1347899
Sent from my SGH-T989 using Tapatalk
GBGamer said:
Thanks for replying.
Click to expand...
Click to collapse
No worries! Actually, I completely feel your pain; I run Ubuntu on my desktop and laptop at home, on my workstation at work, and my work laptop is a Mac. The biggest reason I'm asking for USB logs is that I just can't stand going through the motions to set up Windows & ODIN myself
Perhaps a bit lazy and loser-y, I suppose, but I'll redeem myself if I get Heimdall working, for sure.
billydroid said:
Here is something that would be really awesome
http://forum.xda-developers.com/showthread.php?t=1347899
Click to expand...
Click to collapse
Definitely!! But we still need ODIN/Heimdall for CWM recovery in a softbrick situation, right? If we just want to root, I think there are a couple one-clicks reported to work... but for ROM development you definitely want an easy recovery mode, just in case.
droidjaggers said:
Definitely!! But we still need ODIN/Heimdall for CWM recovery in a softbrick situation, right? If we just want to root, I think there are a couple one-clicks reported to work... but for ROM development you definitely want an easy recovery mode, just in case.
Click to expand...
Click to collapse
Right we do. But that mobile Odin is simply awesome.
Sent from my SGH-T989 using Tapatalk
Major thread necro here, but... I actually have news!
Heimdall works on SGH-T989 now. One caveat... it's not the 1.4RC1 that Benjamin is releasing soon, rather, it is a fork. Unfortunately, the first of two contributors who built the required functionality chose to rename almost all the variables and functions, making it a serious pain in the ass to merge the changes back to the mainline Heimdall source tree.
This is the currently working tree: git://github.com/jamiejackson/Heimdall.git
Check it: http://mulad6.blogspot.com/2012/09/getting-heimdall-to-work-with-sgh-t989.html
I just built it and used it to install CWM Recovery on two T989's, and it worked like a champ on the first try, both devices (no "keep trying it because ODIN sometimes screws up"). \m/
I am relatively new to android, but I recently purchaced an Acer a100. I probably should have done more research... but unfortunately the bootloader is locked down pretty tight so I'm on a mission now to help find a way past this evil bootloader issue. I have scoured the Google plains only to find this tablet has missed out on alot of great dev possibilities due to the bootloader. But I did come across an interesting tidbit of dev info and am not sure if it would really aid us in our search for a fix. The Motorola atrix forums here on xda has some interesting dev on a file called kexec I believe. It seems as though someone figured out how to bypass the locked bootloader and was very close to finding a kernel that would load on top of the program, though the issue was then Motorola having some sort of security to shut down the radio on the device if a custom kernel was loaded... so.. that being said, would this project be worth continuing on the a100 since mine does not have a cellular radio and as far as I know no security to disable anything if a custom kernel is loaded? http://forum.xda-developers.com/showthread.php?t=1079097
masterpker2 said:
I am relatively new to android, but I recently purchaced an Acer a100. I probably should have done more research... but unfortunately the bootloader is locked down pretty tight so I'm on a mission now to help find a way past this evil bootloader issue. I have scoured the Google plains only to find this tablet has missed out on alot of great dev possibilities due to the bootloader. But I did come across an interesting tidbit of dev info and am not sure if it would really aid us in our search for a fix. The Motorola atrix forums here on xda has some interesting dev on a file called kexec I believe. It seems as though someone figured out how to bypass the locked bootloader and was very close to finding a kernel that would load on top of the program, though the issue was then Motorola having some sort of security to shut down the radio on the device if a custom kernel was loaded... so.. that being said, would this project be worth continuing on the a100 since mine does not have a cellular radio and as far as I know no security to disable anything if a custom kernel is loaded? http://forum.xda-developers.com/showthread.php?t=1079097
Click to expand...
Click to collapse
AFAIK that was one the things thrown around for the Nook Tablet which also had a locked and signed bootloader. Maybe someone with the necessary skills should take a look and see if its viable? it looks like quite the undertaking though.
how can dumb people help
I was curious if anyone knew how a person with absolutely no development skills could help this locked bootloader situation and get some rooms on this amazing machine?
RobbandJenica said:
I was curious if anyone knew how a person with absolutely no development skills could help this locked bootloader situation and get some rooms on this amazing machine?
Click to expand...
Click to collapse
Talk to acer and express your concern and disappointment with thier device. Tell them what you think about the locked bootloader and make them understand how its imacting how you use the device and that the limitations they have placed on your device will effect future decisions on buying additional devices from them in the future.
I doubt it'll help, but it's better than sitting on your hands doing nothing.
Sent from my MB860 using XDA App
crossix said:
Talk to acer and express your concern and disappointment with thier device. Tell them what you think about the locked bootloader and make them understand how its imacting how you use the device and that the limitations they have placed on your device will effect future decisions on buying additional devices from them in the future.
I doubt it'll help, but it's better than sitting on your hands doing nothing.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I wanted to ask you or any of the other devs that were giving this a try, if you could perhaps spare a few minutes to fill us in on what has been tried and is currently being tried (if anything)? I think at the very least it would stop the posting of more threads on the same subject (perhaps even sticky such post so new owners and devs alike are informed on progress), and also maybe shine a little bit of hope to the community
littleemp said:
I wanted to ask you or any of the other devs that were giving this a try, if you could perhaps spare a few minutes to fill us in on what has been tried and is currently being tried (if anything)? I think at the very least it would stop the posting of more threads on the same subject (perhaps even sticky such post so new owners and devs alike are informed on progress), and also maybe shine a little bit of hope to the community
Click to expand...
Click to collapse
I don't know if there is anyone that is actually working on a solution to unlock it or find a work around such as 2nd-init or kexec. I don't know if we have any experienced devs that have done that sort of thing in the past with other devices that actually own an a100 and are working on it. If we don't I'd suggest that someone contact someone that does have experience (ie. koush or possibly sc2k) and see if they would be willing to help.
I am not a bootloader / recovery guy and have never personally developed a working solution to a problem like this. I barely know how they work in conjunction with each other. I know that recovery runs it's own kernel and in order to get cwm to work you have to compile a kernel for your device and cwm uses it. I have tried several solutions that others have created but none of them have worked so far.
sc2k from the a500 forum created itsmajic for their device and I attempted to install it along with cwm but almost borked recovery on my tab in the process.
The recovery partition does some sort of checking (I dunno if its a checksum validation or what) but its obvious that the p7 partition in our device doesn't do the same thing as it does on the a500. So the bootloader hack for the a500 will not work for our device.
I have compiled kexec and got kexec-tools to run, but I don't know enough about the kernel or memory addresses to know how to launch an alternate kernel or what memory address to launch it in (if thats even the proper terminology??)
I have looked at 2nd-init, but don't understand where / how cwm would get launched from it.
I just don't have enough knowledge about the boot process / recovery to get a working solution for this thing. I don't consider myself a dev, but just a modder that has done some kernel tweaking and device tweaking here and there. I know how to use a c compiler, write sh scripts, check logcats for issues... enough to be dangerous but thats about it
crossix said:
I have compiled kexec and got kexec-tools to run, but I don't know enough about the kernel or memory addresses to know how to launch an alternate kernel or what memory address to launch it in (if thats even the proper terminology??)
I have looked at 2nd-init, but don't understand where / how cwm would get launched from it.
I just don't have enough knowledge about the boot process / recovery to get a working solution for this thing. I don't consider myself a dev, but just a modder that has done some kernel tweaking and device tweaking here and there. I know how to use a c compiler, write sh scripts, check logcats for issues... enough to be dangerous but thats about it
Click to expand...
Click to collapse
2nd-Init might be possible, we just need to find a binary that starts within init/init.rc that can be hijacked. On Motorola phones it is logwrapper, at this line in init.rc is the first it executes.
Code:
exec /system/bin/logwrapper /system/bin/mount_ext3.sh userdata /data
For this to work logwrapper has to be renamed to something else (logwrapper.bin , .orig) and executed in a new executable script called, logwrapper. In the script just about anything can be done. To run cwm, / gets remounted rw new init files replace the old. busybox, other binaries and a hacked adbd are unzipped. 2nd-Init then goes to work killing process 1 (init) and starts cwm. I believe in this case cwm is 2nd-Init rather than a recovery partition.
The a100 init.rc doesn't use logwrapper. One idea, which may be too far fetched and too far into init, is hijacking the bootanimation binary, but it runs as user 'graphics' which doesn't have elevated privileges. So could an su binary, compiled without requesting SuperUser.apk, be used in the hijacked bootanimation??... If it's too far in the boot process maybe we could atleast get init.d tweaks.
Hashcode has come up with an inventive new approach to cwm bootstrap called safestrap. A different partition is used to hold the rom keeping stock intact making it almost impossible to brick. For anyone interested I recommend reading his blog to see how it works hash-of-codes.blogspot.com/p/how-to-safestrap.html?m=0/. Attached is the logwrapper script from my Droid3 to get an idea of how it starts cwm. The safestrap.apk can also be downloaded from hashcode's blog for a better understanding. DO NOT install it, it can be unzipped and analyzed.
At this point theres no reason we can't deodex then make a custom rom/theme with just replacing atleast the system apps and the framework. With the update.zips theres no reason not to.
Some interesting stuff you have there...
So, you think that update-style ROM porting would be possible right now?
I will defenitely take a look at the logwrapper.
Sent from my A100 using xda premium
Icewyng said:
Some interesting stuff you have there...
So, you think that update-style ROM porting would be possible right now?
I will defenitely take a look at the logwrapper.
Sent from my A100 using xda premium
Click to expand...
Click to collapse
Using an update.zip? The only option we have now would be copying via adb or maybe dd but doubtful. So if the apks are decompiled and themed or even adjusting some code, they can be copied with a simple script from adb. If it bricks just use one of the update.zip's to recover. The first thing the updates do is format /system so no checksums or anything it should be safe.
I would think that aosp style roms can be compiled but most of acers framework would have to stay, along with all the libs. Kind of like some of Team Liberty roms.
eww245 said:
Using an update.zip? The only option we have now would be copying via adb or maybe dd but doubtful. So if the apks are decompiled and themed or even adjusting some code, they can be copied with a simple script from adb. If it bricks just use one of the update.zip's to recover. The first thing the updates do is format /system so no checksums or anything it should be safe.
I would think that aosp style roms can be compiled but most of acers framework would have to stay, along with all the libs. Kind of like some of Team Liberty roms.
Click to expand...
Click to collapse
True. I used edify script before to get my updates to work w/ CWR and I was formatting cache, userdata and system before reinstalling.
Perhaps working on an Acer update with the DSIDXA kitchen could help to get something workable?
Sent from my A100 using xda premium
eww245 said:
Using an update.zip? The only option we have now would be copying via adb or maybe dd but doubtful.
Click to expand...
Click to collapse
The update.zip method wont work through recovery. I tried to pre-root 2.007.04 and when you load any modified .zip file in recovery you get an android with an exclaimation...
I have successfully used dd to make/restore a backup of boot, recovery and system partitions. I haven't had a chance yet to deodex the system (too busy with other projects at the moment).
I mighe be able to do something with your post on that init method, just need to get some time to dig in to it.
Sent from my MB860 using XDA App
crossix said:
The update.zip method wont work through recovery. I tried to pre-root 2.007.04 and when you load any modified .zip file in recovery you get an android with an exclaimation...
I have successfully used dd to make/restore a backup of boot, recovery and system partitions. I haven't had a chance yet to deodex the system (too busy with other projects at the moment).
I mighe be able to do something with your post on that init method, just need to get some time to dig in to it.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Oh good, should be able to make backups of /data, it umounts clean and dd works so that's a step forward. I was worried about partition overlap. tar might be useful too cwm uses it and Titanium and AppExtractor both can restore the data.
Hopefully this weekend I can try that along with possible init.d
If I get a chance I'll mess around with the kernel that acer posted a while back on their site and see if I can't get it to compile. If it does, I'll see if we can try to get a working cwm. Don't go getting your hopes up though, if cwm requires any code changes to get it working then we still may be sunk. I've never attempted to roll my own cwm before, this'll be a first lol.
hmm... looks complicated...
http://www.acsyndicate.net/how-to-porting-cwm-to-other-devices-windows/
Its nice to see a possibility of methods popping up. Hopefully we make some hedge-way here.
crossix said:
If I get a chance I'll mess around with the kernel that acer posted a while back on their site and see if I can't get it to compile. If it does, I'll see if we can try to get a working cwm. Don't go getting your hopes up though, if cwm requires any code changes to get it working then we still may be sunk. I've never attempted to roll my own cwm before, this'll be a first lol.
hmm... looks complicated...
http://www.acsyndicate.net/how-to-porting-cwm-to-other-devices-windows/
Click to expand...
Click to collapse
I'll look into it over the weekend as well. also, I will look into an update file and see if there are anything special in those as well.
Let us know how it goes with the kernel.
Did anyone ever experiment with NVFlash btw? or tried the Acer update decrypter?
Oh...and it seems the ICS ROM for the A200 has already leaked.
Im gonna be ballsy and try and flash it later probably in 20 minutes. Probably wont work, but why not try(other than the fact I can brick my device, meh) Ill also mess around IN the file itself to see what parameters it checks for. Maybe we can do what they did for the A500, but slightly different, heh....
mvan4310 said:
Im gonna be ballsy and try and flash it later probably in 20 minutes. Probably wont work, but why not try(other than the fact I can brick my device, meh) Ill also mess around IN the file itself to see what parameters it checks for. Maybe we can do what they did for the A500, but slightly different, heh....
Click to expand...
Click to collapse
GL, you'll probably get an android with an exclamation point when you try and flash it due to different signing keys used between tablets.
Lol, it got halfway, stopped for a few minutes and gave me the !. lol. It wiped my settings clean, seems as far as it got before it thought about the device, lol. Nice try though.
mvan4310 said:
Lol, it got halfway, stopped for a few minutes and gave me the !. lol. It wiped my settings clean, seems as far as it got before it thought about the device, lol. Nice try though.
Click to expand...
Click to collapse
You should post the last_log file from /cache/recovery, that'll tell you why it died.
On another note, the acer supplied kernel didnt include the config file they used to build so I'm having to roll my own Tried compiling with a minimal amount of settings, but the compile died..
So I just saw news that dual booting is in development, and with the nexus 4 being modeled after the LGOG, I thought why not try?
After playing around with the dual-boot installer, I got my hands on the installer's apk!
Anybody wanna take a crack at reverse-engineering the app to work on the Optimus G?
(Kinda new to android development so I'm not sure if that's possible, but it would be awesome if it worked!)
Edit: Changed the build.prop to appear as Nexus 4. App is now functional.
Edit2: IT WORKS (sorry for the caps) Installed and dual boot works.
Edit3: VERY IMPORTANT! Dual-booting also happens to remove your recovery.
(Which comes back after you uninstall Ubuntu, though it seems like your backups are erased?)
After installation, everything stays the same except you have the option to reboot into Ubuntu Touch from within the Installer app.
When you start up the phone normally, it boots straight into Android.
rino757 said:
So I just saw news that dual booting is in development, and with the nexus 4 being modeled after the LGOG, I thought why not try?
After playing around with the dual-boot installer, I got my hands on the installer's apk!
Anybody wanna take a crack at reverse-engineering the app to work on the Optimus G?
(Kinda new to android development so I'm not sure if that's possible, but it would be awesome if it worked!)
Click to expand...
Click to collapse
I saw the article earlier and thought I might play around with it just for sh*ts and giggles but I've already had Ubuntu working on my phone more than once, still no CDMA progress on their part so it still isn't very useful imo. Also the last time I installed it, a full wipe and reinstall of my backup somehow still left ubuntu system files behind and broke twrp(backups would take forever and say successful but would always fail on restore). Once I figured it out it was an easy enough fix and didn't soft brick my phone but it's still a lot of risk for not much payoff. Don't get me wrong, I love the idea, the only operating system I use on my pc is an ubuntu derivative. But until they support cdma, a lot of things won't work.
HPTesla said:
I saw the article earlier and thought I might play around with it just for sh*ts and giggles but I've already had Ubuntu working on my phone more than once, still no CDMA progress on their part so it still isn't very useful imo. Also the last time I installed it, a full wipe and reinstall of my backup somehow still left ubuntu system files behind and broke twrp(backups would take forever and say successful but would always fail on restore). Once I figured it out it was an easy enough fix and didn't soft brick my phone but it's still a lot of risk for not much payoff. Don't get me wrong, I love the idea, the only operating system I use on my pc is an ubuntu derivative. But until they support cdma, a lot of things won't work.
Click to expand...
Click to collapse
I absolutely agree that it has no use as a daily driver, though it will be fun to be able to quickly install and uninstall the newest versions and try them out.
rino757 said:
I absolutely agree that it has no use as a daily driver, though it will be fun to be able to quickly install and uninstall the newest versions and try them out.
Click to expand...
Click to collapse
Good point. I was planning on checking it out, probably tomorrow because I will have some free time. I have a few other projects but if I make any headway I will gladly post results.
Does everything work on the Ubuntu side?
Sent from my LG-LS970 using xda app-developers app
rino757 said:
Edit: Changed the build.prop to appear as Nexus 4. App is now functional.
Edit2: IT WORKS (sorry for the caps) Installed and dual boot works.
Edit3: VERY IMPORTANT! Dual-booting also happens to remove your recovery.
(Which comes back after you uninstall Ubuntu, though it seems like your backups are erased?)
After installation, everything stays the same except you have the option to reboot into Ubuntu Touch from within the Installer app.
When you start up the phone normally, it boots straight into Android.
Click to expand...
Click to collapse
So did you install this per their(ubuntu) instructions or just install the apk as a system app? I went through the source of the dualboot.sh file and also pulled the apk but haven't tried installing it yet. Thank you for letting me know that it erases backups, I'll make sure to copy it to my pc before installing. Could you check something for me after Ubuntu is unistalled? When I had Ubuntu installed before, after wiping and restoring my backup, some Ubuntu files remained. If Ubuntu is currently uninstalled for you, check to see if the /data/ubuntu folder is still there with a root file explorer.
If it is, TWRP 2.5.0.0 will NOT make a backup. Actually it will, but will take forever(20-25 mins) and fail on restore when it gets to the data part. Im not sure about other recoveries. Just a heads up from the times I've already played with Ubuntu Touch and I'm curious if it still does it. I keep saying Im gonna try this and KEEP getting sidetracked(today it's PSX 4.4.2 and AK kernel!) but thanks for the info!
ThatKawaiiGuy said:
Does everything work on the Ubuntu side?
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
Depending one the build, some things may be sluggish.
At the moment, there aren't a lot of features and the ones that do work (like settings and home screen) are very limited in what they can do.
HPTesla said:
So did you install this per their(ubuntu) instructions or just install the apk as a system app? I went through the source of the dualboot.sh file and also pulled the apk but haven't tried installing it yet. Thank you for letting me know that it erases backups, I'll make sure to copy it to my pc before installing. Could you check something for me after Ubuntu is unistalled? When I had Ubuntu installed before, after wiping and restoring my backup, some Ubuntu files remained. If Ubuntu is currently uninstalled for you, check to see if the /data/ubuntu folder is still there with a root file explorer.
If it is, TWRP 2.5.0.0 will NOT make a backup. Actually it will, but will take forever(20-25 mins) and fail on restore when it gets to the data part. Im not sure about other recoveries. Just a heads up from the times I've already played with Ubuntu Touch and I'm curious if it still does it. I keep saying Im gonna try this and KEEP getting sidetracked(today it's PSX 4.4.2 and AK kernel!) but thanks for the info!
Click to expand...
Click to collapse
I just installed it as a regular app. The Ubuntu Touch installation itself requires root permissions though.
Sorry but I can't check on the residual files as I hard-bricked my Optimus G.
It was a stupid idea to try to turn it into a Nexus 4 and that thread should be closed.
rino757 said:
I just installed it as a regular app. The Ubuntu Touch installation itself requires root permissions though.
Sorry but I can't check on the residual files as I hard-bricked my Optimus G.
It was a stupid idea to try to turn it into a Nexus 4 and that thread should be closed.
Click to expand...
Click to collapse
That sucks dude!
rino757 said:
I just installed it as a regular app. The Ubuntu Touch installation itself requires root permissions though.
Sorry but I can't check on the residual files as I hard-bricked my Optimus G.
It was a stupid idea to try to turn it into a Nexus 4 and that thread should be closed.
Click to expand...
Click to collapse
Ok... so can you let me know how did you hard brick?
I mean... you were successfully able to get to dual boot right?
Then what happened?
Jaskaran498 said:
Ok... so can you let me know how did you hard brick?
I mean... you were successfully able to get to dual boot right?
Then what happened?
Click to expand...
Click to collapse
Yup, aside from the lag and lack of features in the Ubuntu Touch builds, there was no problem.
As far as I saw, installing/dual-booting Ubuntu Touch on the Optimus G does no harm and has no side-effects.
I bricked my phone with something completely different.
(I was stupid and tried to turn the LGOG into a Nexus 4)
rino757 said:
Yup, aside from the lag and lack of features in the Ubuntu Touch builds, there was no problem.
As far as I saw, installing/dual-booting Ubuntu Touch on the Optimus G does no harm and has no side-effects.
I bricked my phone with something completely different.
(I was stupid and tried to turn the LGOG into a Nexus 4)
Click to expand...
Click to collapse
Hopefully that's the case doing the dual boot install. Installing just ubuntu touch did have side effects for me, and what was weirder was that it took a few weeks. I had restored backups, made backups and flashed different roms for about 2 weeks after I installed ubuntu touch. Then all of a sudden, twrp stopped making backups and I stated the rest, lol. Have you hopped onto the irc #lg-optimus-g channel btw? Are you sure there is no hope for your lgog? Im guessing whatever you did wiped out the sbl and download mode with it?
HPTesla said:
Hopefully that's the case doing the dual boot install. Installing just ubuntu touch did have side effects for me, and what was weirder was that it took a few weeks. I had restored backups, made backups and flashed different roms for about 2 weeks after I installed ubuntu touch. Then all of a sudden, twrp stopped making backups and I stated the rest, lol. Have you hopped onto the irc #lg-optimus-g channel btw? Are you sure there is no hope for your lgog? Im guessing whatever you did wiped out the sbl and download mode with it?
Click to expand...
Click to collapse
I did go on the irc and no luck.
Yup, no download mode or sbl.
I'll send it in for a JTAG sometime.
HPTesla said:
Hopefully that's the case doing the dual boot install. Installing just ubuntu touch did have side effects for me, and what was weirder was that it took a few weeks. I had restored backups, made backups and flashed different roms for about 2 weeks after I installed ubuntu touch. Then all of a sudden, twrp stopped making backups and I stated the rest, lol. Have you hopped onto the irc #lg-optimus-g channel btw? Are you sure there is no hope for your lgog? Im guessing whatever you did wiped out the sbl and download mode with it?
Click to expand...
Click to collapse
twrp somehow s*cks at Ubuntu stuff (It just doesn't know how to handle it).
Use something like Philz (somehow, its able to handle it).
Jaskaran498 said:
twrp somehow s*cks at Ubuntu stuff (It just doesn't know how to handle it).
Use something like Philz (somehow, its able to handle it).
Click to expand...
Click to collapse
Thanks for the info! But until ubuntu touch supports cdma, there really isn't a reason for me to install it.
I've been trying to get dual boot **** to work all day. Any chance I could get the one you have :I
rino757 said:
So I just saw news that dual booting is in development, and with the nexus 4 being modeled after the LGOG, I thought why not try?
After playing around with the dual-boot installer, I got my hands on the installer's apk!
Anybody wanna take a crack at reverse-engineering the app to work on the Optimus G?
(Kinda new to android development so I'm not sure if that's possible, but it would be awesome if it worked!)
Edit: Changed the build.prop to appear as Nexus 4. App is now functional.
Edit2: IT WORKS (sorry for the caps) Installed and dual boot works.
Edit3: VERY IMPORTANT! Dual-booting also happens to remove your recovery.
(Which comes back after you uninstall Ubuntu, though it seems like your backups are erased?)
After installation, everything stays the same except you have the option to reboot into Ubuntu Touch from within the Installer app.
When you start up the phone normally, it boots straight into Android.
Click to expand...
Click to collapse
Fun side note: If you are using CyanogenMod it installs right away, but the cannels become inoperable to use. This booted right up on my LS970 on cm-11-20140210-SNAPSHOT-M3-ls970
No luck
Need help guys, it takes forever to install.
I figured I would make a Linux Thread for this device that was more broad than the current Xubuntu one that already exists here http://forum.xda-developers.com/showthread.php?t=2190847 . I am going to figure out how to port different distros to this device over the next few months and I am aiming at getting Fedora, Debian, and possibly Arch Linux if I have time. I was disappointed by the lack of Linux development for this tablet so I decided to learn how to port to this tablet myself and take action.
*********CURRENT ROMS AND BUILDS OF LINUX FOR THE TF300T (I am not the developer of any of the builds below.)*********
---TF300T Xubuntu 13.04 : http://forum.xda-developers.com/showthread.php?t=2190847---
---TF300T Arch Linux : http://forum.xda-developers.com/showthread.php?t=1918849---
---TF300T Ubuntu Touch : http://forum.xda-developers.com/showthread.php?t=2165171---
---TF700T Kexecboot Linux (not sure if compatible with TF300T or not.) : http://forum.xda-developers.com/showthread.php?t=2387133---
If anyone would like me to add something to this list shoot me a PM and I will gladly add more. I have a busy life though so I am not going to always be able to add things 24/7.
good idea to start a new thread, maybe either add in the main post or a reply all the latest images that work/rootfs/kexecboot info so that way its up to date on the main page, i might start gathering all that info for addition i n my post/maybe i'll get around to getting one working on my and cronicle my "quest"
Insane PPC said:
good idea to start a new thread, maybe either add in the main post or a reply all the latest images that work/rootfs/kexecboot info so that way its up to date on the main page, i might start gathering all that info for addition i n my post/maybe i'll get around to getting one working on my and cronicle my "quest"
Click to expand...
Click to collapse
I have a general idea of what I have to do but currently my tablet is bricked and I'm working on getting it fixed (long story on why it is bricked). Anyway does anyone have an idea on where I could start with porting. Again I know generally what I have to do but I don't know where I can start learning to do so.
Sent from my LG-E980 using Tapatalk
rjmxtech said:
I have a general idea of what I have to do but currently my tablet is bricked and I'm working on getting it fixed (long story on why it is bricked). Anyway does anyone have an idea on where I could start with porting. Again I know generally what I have to do but I don't know where I can start learning to do so.
Sent from my LG-E980 using Tapatalk
Click to expand...
Click to collapse
what kind of brick? mine was down for a long time becuase of a botched wipe and i lost recovery, the only thing i could do was get to fastboot...but any command would lock it up other than "erase" and turned out there was an extra partition/section that needed to be erased before i could flash a stock img/recovery back to it and start from scratch again.
Insane PPC said:
what kind of brick? mine was down for a long time becuase of a botched wipe and i lost recovery, the only thing i could do was get to fastboot...but any command would lock it up other than "erase" and turned out there was an extra partition/section that needed to be erased before i could flash a stock img/recovery back to it and start from scratch again.
Click to expand...
Click to collapse
I tried flashing a recovery from terminal inside of twrp and so the device loops at the ASUS logo and won't go into fastboot or boot into the system or go into recovery. I don't know what to do.
Sent from my LG-E980 using Tapatalk
Insane PPC said:
what kind of brick? mine was down for a long time becuase of a botched wipe and i lost recovery, the only thing i could do was get to fastboot...but any command would lock it up other than "erase" and turned out there was an extra partition/section that needed to be erased before i could flash a stock img/recovery back to it and start from scratch again.
Click to expand...
Click to collapse
I will send you a PM nvm
Sent from my LG-E980 using Tapatalk
Any news?
aurel33 said:
Any news?
Click to expand...
Click to collapse
My tablet is bricked and I cannot fix it so I would say no
Sent from my LG-E980 using Tapatalk
I'm not fixing my tablet guys. I'm probably going to just purchase a MINIX Neo X-8H android set top box instead because it costs almost the same for what I have planned repair wise.
Sent from my LG-E980 using Tapatalk