Android-Ubuntu Touch Dual Boot - Sprint LG Optimus G

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.

Related

Porting IHO to other carriers? Check in here.

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

[Q] Tried to install ROM, Galaxy Nexus won't boot at all

I tried to install a ROM that must have not downloaded properly now my Nexus does not boot at all. It doesn't even go to the Google screen, it's just plainly black. The worst part is that it happened last week and I thought the phone had just broken so I got a hardware swap at Best Buy but now I realize it must have been the ROM. I don't want to go back to Best Buy this quickly (not even 24 hours later...) Does anyone know how I might fix it?
hulslanderam said:
I tried to install a ROM that must have not downloaded properly now my Nexus does not boot at all. It doesn't even go to the Google screen, it's just plainly black. The worst part is that it happened last week and I thought the phone had just broken so I got a hardware swap at Best Buy but now I realize it must have been the ROM. I don't want to go back to Best Buy this quickly (not even 24 hours later...) Does anyone know how I might fix it?
Click to expand...
Click to collapse
If it was a faulty download the rom wouldn't have installed properly, what steps did you take in installing the from. Are you able to boot into recovery?
Sent from my Galaxy Nexus using xda app-developers app
FIXED
sensation lover said:
If it was a faulty download the rom wouldn't have installed properly, what steps did you take in installing the from. Are you able to boot into recovery?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I installed a kernel too, both from CWM. Maybe it was the kernel. and no, I couldn't get to recovery but I managed to fix it. I can't post links because I'm a new user but it involved installing omap drivers and running a batch file of some sort that made it bootable. Even though the screen was totally black I guess the computer could still detect it with some work.
Awesome!
hulslanderam said:
I installed a kernel too, both from CWM. Maybe it was the kernel. and no, I couldn't get to recovery but I managed to fix it. I can't post links because I'm a new user but it involved installing omap drivers and running a batch file of some sort that made it bootable. Even though the screen was totally black I guess the computer could still detect it with some work.
Click to expand...
Click to collapse
Congrats! That's gotta feel good to resurrect a "dead" phone!
I've tried to use the OMAP flash to fix mine, but I still can't get into Odin mode (even tho the drivers and bat file seem to install successfully). If you have any tips, then please let me know.

[Bootanimation] OpTimuS DE

OpTimuS DE Bootanimation!!!
WARNING
This is a disclaimer: While this has been tested I am not responsible for ANY damage done to your device. I take no responsibility for bootloops, soft bricks, hard bricks, living brick monsters, your phone proving an omnipotent being fallible(thus negating all existence), your great aunt smoking bath salts, flying monkeys, hot pockets, obamacare, dingleberries, carnivorous dingleberries or Sundays. Use at your own risk!!
Secondary disclaimer: If you have carnivorous dingleberries then you have bigger problems to worry about - but for any phone related questions feel free to message me on here either privately or in the thread.
Here is a bootanimation for the stock ZVC optimized rom OpTimuS DE(If you have an lgog and haven't tried it, you are missing out - just click the name!). The original Optimus Prime™ Flash animation used in this bootanimation is not my work. Optimus Prime™ is a registered trademark of Hasbro. THIS IS NOT A FLASHABLE ZIP! You have to manually put it into your system/media folder and change permissions(-rw-r--r-- aka 644). Also, you will want to delete your old boot animation(make a backup!) and may need to rename this one bootanimation_sprint.zip(If you are using stock ls970). Feel free to use this(and any of my bootanimations) in any way you like! I never ask for donations but if you like/use it, you could always hit that thank button!
Screenshots:
Download:
bootanimation.zip
I'd like to thank Lrod0175 for a great rom and his ongoing optimizations, everyone on xda, the #lg-optimus-g irc channel, Optimus Prime and Megatron(because what would Prime be without him?) and anyone else I may have forgot!​
Feel free to leave feedback and suggestions!!!
Dude! That is too cool!
Yo, I just tried it and its awesome, dude I know u put a lot of work into that one, great job buddy, make me a shutdown animation with the second part, then make it fade into the screen lie the transition u have. Try to keep it as small as u can, I wanna have in the rom.
Sent from my LG-LS970 using Tapatalk
Lrod0175 said:
Yo, I just tried it and its awesome, dude I know u put a lot of work into that one, great job buddy, make me a shutdown animation with the second part, then make it fade into the screen lie the transition u have. Try to keep it as small as u can, I wanna have in the rom.
Sent from my LG-LS970 using Tapatalk
Click to expand...
Click to collapse
That shouldn't take me long. The bootanimation was over 100mb before I converted the .pngs to .jpgs and ran jpegoptimizer, lol. But like I said that shouldn't take me long and should be relatively small. I'm currently having issues with TWRP 2.5.0.0 restoring the data portion of my backup. Started happening ever since I installed Xposed but I can't seem to figure it out, backups fine, fails on restore. Hopefully I can figure this out but regardless I will take a break to do the shutdown animation.
HPTesla said:
That shouldn't take me long. The bootanimation was over 100mb before I converted the .pngs to .jpgs and ran jpegoptimizer, lol. But like I said that shouldn't take me long and should be relatively small. I'm currently having issues with TWRP 2.5.0.0 restoring the data portion of my backup. Started happening ever since I installed Xposed but I can't seem to figure it out, backups fine, fails on restore. Hopefully I can figure this out but regardless I will take a break to do the shutdown animation.
Click to expand...
Click to collapse
Thats dope, looks better than the one I made lol. The one thats currently included in the rom was done by me, it was the 2nd boot screen I ever made. Do you use any specific tools when you make yours? It took me forever to build the one I had. I did all of my work in photoshop.
BonezMontana said:
Thats dope, looks better than the one I made lol. The one thats currently included in the rom was done by me, it was the 2nd boot screen I ever made. Do you use any specific tools when you make yours? It took me forever to build the one I had. I did all of my work in photoshop.
Click to expand...
Click to collapse
Not really, it depends on what Im doing. I only use linux so this was mostly made in GIMP. I found the original animation on youtube and downloaded the video with youtube-dl via the linux terminal. I then edited the video in kdenlive and broke it into separate frames with ffmpeg again via the linux terminal. From there I did all major editing/resizing in GIMP which can be time consuming but thank god for shortcut keys. After I was done with that I used imagemagick from the terminal to convert all the pngs to jpgs. In the terminal again I ran jpegoptimizer to shrink the byte size of the images. Finally(and yet again from the linux terminal, lol) I typed in zip -r -0 bootanimation.zip part0/* part1/* desc.txt to make an uncompressed zip file. Inkscape can come in handy and Im slowly learning to use Blender but this is my overall method of making a bootanimation.
@HPTesla concerning the TWRP restore. Did you happen to encrypt it? If so, it might not restore. I know a few of the TWRP versions had that issue. Nice work BTW!! :good:
engine95 said:
@HPTesla concerning the TWRP restore. Did you happen to encrypt it? If so, it might not restore. I know a few of the TWRP versions had that issue. Nice work BTW!! :good:
Click to expand...
Click to collapse
Thanks! And nope, I never enable encryption or compression. Have tried making a backup several times. All is well until I try to restore them, then it fails at data. :-/ Maybe if I update to a TWRP newer than 2.5.0.0? The 2.6.3.0 version to flash 4.4 roms didn't have an EFS section in the backup so I went back to 2.5.
HPTesla said:
Thanks! And nope, I never enable encryption or compression. Have tried making a backup several times. All is well until I try to restore them, then it fails at data. :-/ Maybe if I update to a TWRP newer than 2.5.0.0? The 2.6.3.0 version to flash 4.4 roms didn't have an EFS section in the backup so I went back to 2.5.
Click to expand...
Click to collapse
I'd recommend staying with the 2.5.0.0. The 2.6.x.x series has had some issues for us. Including sleef's brick!
The modded 2.6.3.0.works as far as backing up and restoring 4.4 roms. But I haven't tried it with anything below 4.4. I usually flash back to 2.5.0.0 when I downgrade to 4.3, 4.2, 4.1. Just my 2cents.:silly:
engine95 said:
I'd recommend staying with the 2.5.0.0. The 2.6.x.x series has had some issues for us. Including sleef's brick!
The modded 2.6.3.0.works as far as backing up and restoring 4.4 roms. But I haven't tried it with anything below 4.4. I usually flash back to 2.5.0.0 when I downgrade to 4.3, 4.2, 4.1. Just my 2cents.:silly:
Click to expand...
Click to collapse
That's exactly what I've been doing but all of a sudden it started doing this. In 2.5 where is the encryption options/settings? I cant even seem to find em. Im on 2.5.0.0 but there isnt an option in backup or in settings.....
HPTesla said:
That's exactly what I've been doing but all of a sudden it started doing this. In 2.5 where is the encryption options/settings? I cant even seem to find em. Im on 2.5.0.0 but there isnt an option in backup or in settings.....
Click to expand...
Click to collapse
My bad and my confusion again. Compression is what I meant. Encryption I think happened with the 2.6.x.x series
So.. I meant... did you enable commpression?
I'm so tired of having braincramps. lol
engine95 said:
My bad and my confusion again. Compression is what I meant. Encryption I think happened with the 2.6.x.x series
So.. I meant... did you enable commpression?
I'm so tired of having braincramps. lol
Click to expand...
Click to collapse
Ok, in that case, no. I tried that a little while ago and while it cut my backup in half, it wouldn't restore. So I've backed up a few times since without compression and have remembered to make sure it wasnt checked when making a backup. I've also noticed that making the backup takes almost twice as long now, clearly it's having some kind of issue but who knows with what. The only other thing I've noticed is that the backup from my 11/26 is just under 4000mb and now it's just over 4100mb. I'm stumped, lol and this is probably not the place for this discussion but Im a bit sleep deprived as well.
HPTesla said:
Not really, it depends on what Im doing. I only use linux so this was mostly made in GIMP. I found the original animation on youtube and downloaded the video with youtube-dl via the linux terminal. I then edited the video in kdenlive and broke it into separate frames with ffmpeg again via the linux terminal. From there I did all major editing/resizing in GIMP which can be time consuming but thank god for shortcut keys. After I was done with that I used imagemagick from the terminal to convert all the pngs to jpgs. In the terminal again I ran jpegoptimizer to shrink the byte size of the images. Finally(and yet again from the linux terminal, lol) I typed in zip -r -0 bootanimation.zip part0/* part1/* desc.txt to make an uncompressed zip file. Inkscape can come in handy and Im slowly learning to use Blender but this is my overall method of making a bootanimation.
Click to expand...
Click to collapse
Ah ok cool, yea I played around with the video's. I used to do animated signatures back in the day on a video game forum and I used clips from trailers.
This looks awsome! Nice!!
Sent from my LG-LS970 using xda app-developers app
nice job

Porting LineageOS 14 to the d710

Disclaimer: I am not a ROM developer. I am a developer and Linux user, but I know next to nothing about creating Android ROMs. Whole other world to me.
I'm wondering if all three of us Epic 4G Touch users left might be able to get a working port of LineageOS 14 on our aging handsets.
The good news:
I just loaded the Official LineageOS 14 for i9100 20170419 nightly on my d710, and IT WORKS
...almost.
The bad news:
The ROM boots up, everything works and looks normal except for:
Wi-Fi - Settings app spins with message "Turning Wi-Fi on..."
Menu Button
Home Button
Now, I'm wondering if there is a way to fix these problems. I prefer on-screen navigation anyway, so that's probably an easy "fix." But Wi-Fi will probably be trickier. I assume it's kernel related, but I can't find any Nougat kernels for this device, so that will likely be the most difficult part.
Thoughts? Anyone else out there have any input or want to give this a crack?
Links:
https://wiki.lineageos.org/devices/i9100/build
https://wiki.lineageos.org/devices/i9100/install
https://web-beta.archive.org/web/20161224202958/https://wiki.cyanogenmod.org/w/Build_for_d710
https://web-beta.archive.org/web/20161224192644/https://wiki.cyanogenmod.org/w/Doc:_porting_intro
https://github.com/LineageOS/android_device_samsung_d710/tree/cm-12.0
https://github.com/LineageOS/androi...4.1/arch/arm/configs/lineageos_d710_defconfig
https://github.com/Lanchon/TWRP-Patcher-SGS2
https://github.com/Lanchon/REPIT
https://forum.xda-developers.com/ep.../rom-cyanogenmod-11-official-nightly-t2852074
Can you pm me your rom you used, i may be able to figure out how to get wifi to work, i dont have access to a computer right now but i can take a look at the rom you used when i get to one
svaethier said:
Can you pm me your rom you used, i may be able to figure out how to get wifi to work, i dont have access to a computer right now but i can take a look at the rom you used when i get to one
Click to expand...
Click to collapse
Link is in the OP. Here it is again: https://forum.xda-developers.com/galaxy-s2/general/rom-t3555834
Direct link to the download page: https://download.lineageos.org/i9100
How did you get past the 07 error then? Ive tried clearing everything from system to dalvik cache and nothing gets me to install the rom to look into the wifi issue properly
svaethier said:
How did you get past the 07 error then? Ive tried clearing everything from system to dalvik cache and nothing gets me to install the rom to look into the wifi issue properly
Click to expand...
Click to collapse
I don't know what you're talking about. I don't get an error.
The ROM flashes without modification. Make sure you have an up-to-date TWRP with the i9100 crossflash patch: https://github.com/Lanchon/TWRP-Patcher-SGS2
Ive tried flashing twrp onto my device using the guide that tells you how, even after editing the installer script to have the SPH-D710 line in it it aborts the installation
svaethier said:
Ive tried flashing twrp onto my device using the guide that tells you how, even after editing the installer script to have the SPH-D710 line in it it aborts the installation
Click to expand...
Click to collapse
I followed lots of advice from this thread: https://forum.xda-developers.com/epic-4g-touch/help/help-getting-stock-rooted-4-1-2-to-cm11-t3384832
I believe the method that finally worked for me was: Odin to EL29 rooted, Philz recovery, TWRP, CM11.
That's where I was before I tried the i9100 LOS 14.1 ROM.
I can get a twrp with a different rom then cm11 but that twrp doesnt have the img installation feature on it
svaethier said:
I can get a twrp with a different rom then cm11 but that twrp doesnt have the img installation feature on it
Click to expand...
Click to collapse
If you have root in CM11, you can use Flashify to flash the new TWRP .img file.
My E4GT still works, more than glad to throw my hand in the pot to make something happen. Haven't used the S2 in years so it's not updated, currently running an old build of CWM and a CM11 nightly with iso-rec support. If you could bring me up to speed on what I need to get from where I am to a newer recovery(TWRP preferred) and your ROM I'll start playing around with it. Last time I searched all of this to update left me more confused than anything with it being mixed up with the i9100 and i777 information as well.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
My E4GT still works, more than glad to throw my hand in the pot to make something happen. Haven't used the S2 in years so it's not updated, currently running an old build of CWM and a CM11 nightly with iso-rec support. If you could bring me up to speed on what I need to get from where I am to a newer recovery(TWRP preferred) and your ROM I'll start playing around with it. Last time I searched all of this to update left me more confused than anything with it being mixed up with the i9100 and i777 information as well.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
You should be able to flash the latest TWRP (for i9100) using Flashify. Beware that I have not been able to get TWRP to mount my external SD card, so any files you want to flash in TWRP need to be stored on internal memory. Everything else works perfectly. Mounting USB storage in TWRP works well, and that's how I've been able to get new files on the phone when I needed to.
After installing TWRP, make sure you run Lanchon's crossflash patch on it: https://github.com/Lanchon/TWRP-Patcher-SGS2
I used
Code:
lanchon-twrp-patcher-20160417-crossflash-d710.zip
to enable flashing d710 and i9100 ROMs.
flamadiddle said:
You should be able to flash the latest TWRP (for i9100) using Flashify. Beware that I have not been able to get TWRP to mount my external SD card, so any files you want to flash in TWRP need to be stored on internal memory. Everything else works perfectly. Mounting USB storage in TWRP works well, and that's how I've been able to get new files on the phone when I needed to.
After installing TWRP, make sure you run Lanchon's crossflash patch on it: https://github.com/Lanchon/TWRP-Patcher-SGS2
I used
Code:
lanchon-twrp-patcher-20160417-crossflash-d710.zip
to enable flashing d710 and i9100 ROMs.
Click to expand...
Click to collapse
Yeah, I took another look last night, the information available now clarifies things that seemed a mess back when I first looked into this.
Have you made any progress with your ROM? If the hardware keys are still not working it's because key mapping is different on i9100, also rotation is backwards or at least it was years back when I flashed a i9100 ROM on my D710. You can remap the hardware keys so that they function correctly. Other than that there should be no differences.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
Yeah, I took another look last night, the information available now clarifies things that seemed a mess back when I first looked into this.
Have you made any progress with your ROM? If the hardware keys are still not working it's because key mapping is different on i9100, also rotation is backwards or at least it was years back when I flashed a i9100 ROM on my D710. You can remap the hardware keys so that they function correctly. Other than that there should be no differences.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
I haven't done anything yet except try to load the unmodified i9100 ROM and report what works/doesn't. Really the only thing I need fixed is the Wifi, and I have no clue how to do that.
flamadiddle said:
I haven't done anything yet except try to load the unmodified i9100 ROM and report what works/doesn't. Really the only thing I need fixed is the Wifi, and I have no clue how to do that.
Click to expand...
Click to collapse
I'll reach out to some developer associates and see what I can find out about the WiFi.
Sent from my SM-S903VL using Tapatalk
I'm not a developer, but I have a D710 lying around and I am willing to do testing if you need me
I also have an Epic 4g touch that im willing to test stuff
So... I guess nothing ever happened with this ROM? I have a SCH - R760 from US Cellular that AFAIK is compatible with d710 roms. I would still be interested in running Nougat on my device - even though my eMMC seems to have issues at the moment.
chrismin13 said:
So... I guess nothing ever happened with this ROM? I have a SCH - R760 from US Cellular that AFAIK is compatible with d710 roms. I would still be interested in running Nougat on my device - even though my eMMC seems to have issues at the moment.
Click to expand...
Click to collapse
Never had any real interest, and I don't know enough to do it myself.
flamadiddle said:
Never had any real interest, and I don't know enough to do it myself.
Click to expand...
Click to collapse
Understood. So you said that the buttons didn't work and the wifi wasn't turning on. Were there any other major bugs that you noticed? I might try and make it work for our device, because why not!
Thanks for still responding after so many months!
chrismin13 said:
Understood. So you said that the buttons didn't work and the wifi wasn't turning on. Were there any other major bugs that you noticed? I might try and make a for for our device, because why not!
Thanks for still responding after so many months!
Click to expand...
Click to collapse
Those were the only two things I noticed. Bluetooth worked. I didn't see any apps crash (but I couldn't load new ones because no wifi). I didn't try cell service because I don't even have Sprint anymore, but I suspect that probably didn't work for the same reason wifi was killed.
Thanks for looking into this! I'm still interested if we can find a way to make it work. I just don't know much about creating ROMs. I'm not an Android dev.

Question "Rooted" now what?

Oneplus finally came through with my bootloader unlocking token.Not to mention all the hoops T-Mobile had me jump through.With that being said im in possession of my very first fully rooted phone that just happens to be a 9 Pro.Any suggestions on which modules I can command Majisk to install first?How bout any general pointers thus being this is my first experience free and in full control of my 9pro.?
Here's some ideas:
What Magisk modules are you using?
Hey all moving up from my OP 7 pro to the OP 9 pro. What are all the magisk modules everyone is using on the OP 9 pro.? 1.Anything to force full screen mode on all apps? The settings for full screen apps dont include all the apps im using as...
forum.xda-developers.com
Shanemichealrowland said:
Oneplus finally came through with my bootloader unlocking token.Not to mention all the hoops T-Mobile had me jump through.With that being said im in possession of my very first fully rooted phone that just happens to be a 9 Pro.Any suggestions on which modules I can command Majisk to install first?How bout any general pointers thus being this is my first experience free and in full control of my 9pro.?
Click to expand...
Click to collapse
To be honest, I would hold off until we have a working TWRP build, especially if this is your first experience of root, etc
djsubterrain said:
To be honest, I would hold off until we have a working TWRP build, especially if this is your first experience of root, etc
Click to expand...
Click to collapse
I was thinking the same thing .I just thought maybe there are some safer mods I should do in the meantime.
@Shanemichealrowland
I've been rooting Android for many years now. I always read read and read some more before I begin to install anything and I always wait until there is a working custom recovery and make a FULL backup of every partition and transfer it to a USB drive and or my computer first thing. Make sure to backup your efs as well so that if you lose your IMEI at some point it too can them be reflashed using fastboot. These are things I've always done and will continue to always do. Many users get excited and rush out to install things and don't read enough about their device and end up with an expensive piece of plastic and glass. If you always wait and read everything and make sure you fully understand how your device works before you install things then you will always have a great experience and never have to go through the bad feeling of ruining your expensive device. I read everything in a forum about my device first. You can't go wrong doing things that way. I hope this helps. OnePlus makes great devices! I'm using my OnePlus 6t now to type this and I still love it!! Welcome to XDA my friend.
Edit added: I see you're from Houston. Me too.
flash713 said:
@Shanemichealrowland
I've been rooting Android for many years now. I always read read and read some more before I begin to install anything and I always wait until there is a working custom recovery and make a FULL backup of every partition and transfer it to a USB drive and or my computer first thing. Make sure to backup your efs as well so that if you lose your IMEI at some point it too can them be reflashed using fastboot. These are things I've always done and will continue to always do. Many users get excited and rush out to install things and don't read enough about their device and end up with an expensive piece of plastic and glass. If you always wait and read everything and make sure you fully understand how your device works before you install things then you will always have a great experience and never have to go through the bad feeling of ruining your expensive device. I read everything in a forum about my device first. You can't go wrong doing things that way. I hope this helps. OnePlus makes great devices! I'm using my OnePlus 6t now to type this and I still love it!! Welcome to XDA my friend.
Edit added: I see you're from Houston. Me too.
Click to expand...
Click to collapse
Wow,your so right. Ive already caught and stopped myself from installing a couple things I wasnt sure about.I think im gonna slow down a bit and keep learning.Thanks for bringing me back to whats should be going on.
Shanemichealrowland said:
I was thinking the same thing .I just thought maybe there are some safer mods I should do in the meantime.
Click to expand...
Click to collapse
There are Magisk modules but if you get into trouble you need to be able to access recovery, OnePlus's default recovery isn't quite as all encompassing as TWRP
djsubterrain said:
There are Magisk modules but if you get into trouble you need to be able to access recovery, OnePlus's default recovery isn't quite as all encompassing as TWRP
Click to expand...
Click to collapse
Afaik you can delete problematic magisk modules in safemode. Plus I havent used TWRP pretty much for anything with OnePlus 8 pro and after. That just helps me understand better how things work. Plus because I use Linux msm is useless to me but thats another topic
Edit: Dont get me wrong, not trying to convince people to mod/flash anything. Just pointing out that TWRP is not necessity.
pyry666 said:
Plus because I use Linux msm is useless to me but thats another topic
Click to expand...
Click to collapse
Could you clarify this? What procedure do you follow in the event of a brick? I use Linux exclusively and would prefer to be able to recover from a brick using Linux instead of relying on MSM, but I'm not clear on all the steps MSM does or where/how I would find the specifics needed to do the same thing myself.
terlynn4 said:
Could you clarify this? What procedure do you follow in the event of a brick? I use Linux exclusively and would prefer to be able to recover from a brick using Linux instead of relying on MSM, but I'm not clear on all the steps MSM does or where/how I would find the specifics needed to do the same thing myself.
Click to expand...
Click to collapse
Ive only done that once myself and that was with 6T. But basicly you need to flash every partition etc via terminal
pyry666 said:
Ive only done that once myself and that was with 6T. But basicly you need to flash every partition etc via terminal
Click to expand...
Click to collapse
Ok, I've flashed all partitions before, but I thought there was more to MSM's steps than that. E.g. fixing the partitions themselves, or some sort of voodoo required to recover from any sort of soft brick.
terlynn4 said:
Ok, I've flashed all partitions before, but I thought there was more to MSM's steps than that. E.g. fixing the partitions themselves, or some sort of voodoo required to recover from any sort of soft brick.
Click to expand...
Click to collapse
AfaIk there is not that much. It locks bootloader though and IF something goes wrong that could cause issues. One of the reasons ive never used it.
Edit: Ill correct myself. MSM uses EDL mode. And if device is borked that badly then only it works. And imo should be used only then
Edit2: One could try using virtual machine to use MSM with Linux but I have zero knowledge how that would play out
pyry666 said:
AfaIk there is not that much. It locks bootloader though and IF something goes wrong that could cause issues. One of the reasons ive never used it.
Edit: Ill correct myself. MSM uses EDL mode. And if device is borked that badly then only it works. And imo should be used only then
Edit2: One could try using virtual machine to use MSM with Linux but I have zero knowledge how that would play out
Click to expand...
Click to collapse
Right, I've been in situations with my last phone where EDL was my only option and I had to use MSM. I have dual boot on a laptop for those occasional Windows-only things like MSM. In the past I've found the USB passthrough to be unreliable for this purpose using a VM in virtualbox, though I haven't tried in a few years so it may have improved.

Categories

Resources