[4.4 Kernels] Automatically detect panel command line - G2 Android Development

I will leave this up for devs to see. This is a 100% accurate method to set the users correct panel without the user having to flash a zip or do anything else
Here is the actual commit. This is much different from savocas script as it doesn't toggle the jdi and lgd command line back and forth every flash but automatically detects the correct panel.
https://github.com/dr87/4.4_g2-common/commit/58feacbc7ba19c4aa63612037dcc038b4f8b2dde (commit link updated)

dr87 said:
I will leave this up for about a week for all devs to see. This is a 100% accurate method to set the users correct panel without the user having to flash a zip or do anything else
Here is the actual commit. This is much different from savocas script as it doesn't toggle the jdi and lgd command line back and forth every flash but automatically detects the proper panel.
https://github.com/dr87/4.4_g2-common/commit/1c30e3070587489250d84ea41f027dc03f701812
Click to expand...
Click to collapse
my hero :crying:

You two rock! So, glad our devices has such awesome devs, this will undoubtedly come in handy for many people.

Thread reopened and commit updated in OP
Had to fix an extra spacing in the cmdline and add the locations loki would extract the boot.img
All should be working now :good:

You guys rock. Soooo thankful for our great Devs.
Sent from my VS980 4G using XDA Premium 4 mobile app

[email protected] said:
I've installed TT on flash card 2 weeks ago, since then I've flashed rom several times. Also changed radio several times. Today, while I was inside a concrete building I've started TT from flash card, surprisingly it didn't get upset about anything and started normally (I didn't install it after flashing rom). After about a minute it showed my current location...I was shocked, because before it never could locate GPS device, I had to start gpstest and wait until it get lock, then start TT.
Weird.
Click to expand...
Click to collapse
NICE!
I will be happy to merge it for people!
Sent from my LG-D802

Thanks buddys to make this device Awesome!
Congratz!!

Related

[GPS] Test and Report please

I've been testing some GPS fixes from around the forum. Some of them have helped, some have not. This gps.config file has helped me quite a bit. I live outside EL Paso and on stock EG30 could not ever get a lock. I tried several fixes until I put my head right and realized my EVO4G could get an awesome lock. So, I incorporated some of the data there into my E4GT and got great results. My setup is currently EL26 kernel/modem with EL13 uNnamed rom.
MUST BE ROOTED
To try this file unzip in home folder and:
Use Root Explorer (or whatever file manager you prefer) and navigate to system/etc. Mount as R/W and rename you current gps.conf to gps.conf.old.
If you use adb just push the new file from whatever directory it's in to system/etc. (should be ~/***, so the following command should work on Ubuntu. Sorry, no windows instructions because I don't use Windows)
adb push gps.conf system/etc
adb reboot
Alternate Installation:
Unzip file to your SD card. Rename gps.conf as before. Navigate to the SD card and copy the file to system/etc. Reboot.
Use GPS Test from the market to get an indication of any change. Leave feedback for me. I was able to go from one satellite in view to 8-9 while using most of them.
I did not write any of the script, just collected it from other places and got it to work for me. If you see any of your work here and want credit, let me know and I'll edit the OP. I know there's somebody but I don't remember who.
That worked amazingly 9 in view, 9 in use. Before I could only get 1 or 2 indoors.
Thanks.
Fin745 said:
That worked amazingly 9 in view, 9 in use. Before I could only get 1 or 2 indoors.
Thanks.
Click to expand...
Click to collapse
We're still testing. Seems like the sleep state kills the GPS. There might be another update so stay tuned. Let me know if you can join us on irc.freenode/#gtab for some testing. Thanks for trying my junk.
interloper said:
We're still testing. Seems like the sleep state kills the GPS. There might be another update so stay tuned. Let me know if you can join us on irc.freenode/#gtab for some testing. Thanks for trying my junk.
Click to expand...
Click to collapse
Installed will give full feedback after 24hr of use & yes sleeps a gps killer.
Sleep does in fact kill GPS. I have to reboot in order to get it to work again...not all the time though
Just uploaded. I did so on windows using android commander btw. (if you care )
On stock i was viewing 1. To be honest thats the first time I ran a test on it, but I had noticed general GPS issues in the past.
I'm now showing 8 in view. I'll keep track of it over the week and post if anything changes.
I'll give it a shot since mine suffers from GPS issues after time.
not much improvement on my end.
i do connect faster when im outside. but no go while indoors. ill replace my phone before my trip at the end of jan
thanks for the replies. Please include modem/kernel/rom info if possible.
GPS is working great after script. I also installed the s GPS driver about a week ago from different phone and it seemed to make the most difference.
i retract my previous post. it takes a couple minutes to get a lock (8/9) indoors, but at least it gets a lock indoors. this **** is ridiculous. same thing happened when i had the samsung moment and intercept, and my friend's galaxy nexus. seems to only be a problem with samsung cdma phones.
caulk's 2.7 rom and kernel, el26
---------- Post added at 02:13 AM ---------- Previous post was at 02:12 AM ----------
puch0021 said:
GPS is working great after script. I also installed the s GPS driver about a week ago from different phone and it seemed to make the most difference.
Click to expand...
Click to collapse
what is this "s GPS driver"? :X
puch0021 said:
GPS is working great after script. I also installed the s GPS driver about a week ago from different phone and it seemed to make the most difference.
Click to expand...
Click to collapse
+1 I am looking into the driver on my Galaxy Tab. It locks wicked fast all the time, but I don't know of the hardware is different. If you have a driver I can test, I would be very grateful. Send me a link to your source, or link the file.
Sorry forgot to post ROM.
Caulkins ROM and kernel, el26 modem.
i360 said:
I'll give it a shot since mine suffers from GPS issues after time.
Click to expand...
Click to collapse
I'm using stock rooted EL26 ROM....
This thing hardly ever locks indoors where as my Galaxy Tab 10.1 does with no problems.
These radios just don't transmit as good apparently.
Never had a problem with GPS on this phone. Download GPS Test from the market and then clear and re-download agps within the app. After that you will be golden.
http://forum.xda-developers.com/showthread.php?t=1356865
flash this it works like a charm. Wipe cache/dalvik
After updating to EL26 I am having fewer problems than with other versions. I checked the drivers mentioned here, even the fix mentioned by puch21, and they are indeed different. The driver files from EL26 are more thorough, there are a couple more files in the directory. The fix from puch21 is a driver from another Samsung device, but I don't know which one. Anyway, If anyone wants to stay with an older ROM I can provide downloads for the drivers, but I can't make flashable zips today. Maybe tomorrow. I use adb for almost everything, but I know not everyone does. I'll work on them as time permits. If I do make zips they will contain the best reported drivers, libs and gps.conf files. I suppose I will provide a stock setup in case anyone wants to revert.
This was the driver I was referring to.
http://forum.xda-developers.com/showthread.php?t=1321049
I've tried the supersonic driver, it didn't lock as well as the above driver.
Sorry for the late update!
Thanks for getting back. There are more than a few threads about GPS fix. With so many people working on it it will get fixed. I'm pretty impressed with the EL26 all stock setup right now. Seems to have been the best for me, but still there are conflicting reports. I have not been able to try EL29 yet...cheers!

[GUIDE/FIX] For GPS issues in AOSP CM7 MIUI Roms

Since about January, all the CM7 based roms have had flaky GPS for me. Basically it loses the signal after about 5 minutes. A quick GPS on/off cycle usually fixes the problem. However, I really don't like the distraction
(and the danger) of messing with the gps when driving 70 mph.
I spent quite a bit of time searching for a solution on this and other forums, but found nothing helpful. Yesterday, I got the idea to try out one of the Sense GPS drivers in the AOSP roms. I extracted the attached file from one of the Stock roms and replaced the AOSP driver.
The good news is it appears to work. In the 4 times I've driven I didn't have to do any GPS cycling.
Steps:
1) Extract the attached gps.glacier.so.zip file.
2) Using Root Explorer or ES File Explorer (with the root option checked) copy the attached gps.glacier.so file into your system/lib/hw directory replacing the current file.
3) Reboot.
4) You may want to clear out the A-GPS state using the GPS status app, but I don't know if this is necessary or not.
or
1)Use clockworkmod to install the GPS_Fix.zip file.
Anyway, I hope this helps someone else. I am thinking of developing zip you can flash if there is interest in it. But in the meantime I wanted to post the fix, since I know there have been other people with the same problems I had.
I hope this helps!
EDIT-
I have also added the gps_update.zip that has the gps.conf file, the supl.root.cert and the gps.glacier.so all put together by tnpapadakos
testing now
have you tried the gps.conf by crypted? the gps lock is way quicker/better than the stock/aosp gps.conf file
just wondering if you tried it
tnpapadakos said:
testing now
have you tried the gps.conf by crypted? the gps lock is way quicker/better than the stock/aosp gps.conf file
just wondering if you tried it
Click to expand...
Click to collapse
No, I haven't tried it. My lock time hasn't been bad... I usually have a lock in the time it takes me to pull out of my garage. That being said, I am always tweaking things so I will definitely give it a try.
Gadianton said:
No, I haven't tried it. My lock time hasn't been bad... I usually have a lock in the time it takes me to pull out of my garage. That being said, I am always tweaking things so I will definitely give it a try.
Click to expand...
Click to collapse
use this one
these work for glacier but are in other threads, you'll notice
in any case, this is the one to use if you wanna save yourself some reading
also, the guy's a fricking genius or something, open up the file in that zip and see what he's doing...he's hosting his own gps servers
tnpapadakos said:
use this one
these work for glacier but are in other threads, you'll notice
in any case, this is the one to use if you wanna save yourself some reading
also, the guy's a fricking genius or something, open up the file in that zip and see what he's doing...he's hosting his own gps servers
Click to expand...
Click to collapse
Thanks. I just finished reading through his notes.
tnpapadakos said:
use this one
these work for glacier but are in other threads, you'll notice
in any case, this is the one to use if you wanna save yourself some reading
also, the guy's a fricking genius or something, open up the file in that zip and see what he's doing...he's hosting his own gps servers
Click to expand...
Click to collapse
Do you flash this in recovery?
Sent from my HTC Glacier using XDA
Supamike88 said:
Do you flash this in recovery?
Sent from my HTC Glacier using XDA
Click to expand...
Click to collapse
The gps.conf by crypted file can be flashed in recovery. You can also just open up the zip and copy it using root explorer, etc.
Gadianton said:
The gps.conf by crypted file can be flashed in recovery. You can also just open up the zip and copy it using root explorer, etc.
Click to expand...
Click to collapse
somtimes I just add it to the rom before flashing, and you have to also add the SuplRootCert to system/etc, but if he comes up with an update in between roms, i just flash from recovery....
Gadianton said:
Since about January, all the CM7 based roms have had flaky GPS for me. Basically it loses the signal after about 5 minutes. A quick GPS on/off cycle usually fixes the problem. However, I really don't like the distraction
(and the danger) of messing with the gps when driving 70 mph.
I spent quite a bit of time searching for a solution on this and other forums, but found nothing helpful. Yesterday, I got the idea to try out one of the Sense GPS drivers in the AOSP roms. I extracted the attached file from one of the Stock roms and replaced the AOSP driver.
The good news is it appears to work. In the 4 times I've driven I didn't have to do any GPS cycling.
Steps:
1) Extract the attached zip file.
2) Using Root Explorer or ES File Explorer (with the root option checked) copy the attached gps.glacier.so file into your system/lib/hw directory replacing the current file.
3) Reboot.
4) You may want to clear out the A-GPS state using the GPS status app, but I don't know if this is necessary or not.
Anyway, I hope this helps someone else. I am thinking of developing zip you can flash if there is interest in it. But in the meantime I wanted to post the fix, since I know there have been other people with the same problems I had.
I hope this helps!
Click to expand...
Click to collapse
Don't forget to check the permissions on the file. I am not sure if it was because I backed up the old one first and copied in the new one after, but I had to change the permissions to rw-r--r--.
This, I learned the hard way. I always forget something...
G8351427 said:
Don't forget to .....change the permissions to rw-r--r--.
Click to expand...
Click to collapse
definitely....i always check the permissions of the file i'm replacing and match that on a new file, or, if i'm inserting one thats not there, i look at the permissions of the surrounding similar files, and match it to those
otherwise, rw-r--r-- is usually the fallback
Yea I have noticed that the best GPS experience I have had was when the phone was completely stock the GPS worked great, locked on quickly, and never lost signal. After I flashed it and such the GPS has been a pain to get lock when I needed it the most.
I've found that any of the radios after the official Froyo version causes the GPS to fail after a few minutes as described by the OP. However, with some of the newer ROMS I've found that the newest radio doesn't completely lose the GPS signal but it does still seem to temporarily lose it but it then it comes back by itself (causes navigation to get stuck at a location for a minute or two every now and then).
I tried the driver and agps mod from this thread. At first it completely killed my GPS then someone posted about the required permission changes which fixed that. I haven't tried navigation so I can't say whether it prevents the temporary position loses, but it does seem to still be pretty slow to lock on and after it does lock on may take several minutes before the accuracy gets to a useful level.
I think I'm going to go back to the Froyo radio as that one seems to work the best for GPS and I'm not convinced it makes much of a difference for voice/data. Perhaps the Froyo radio with these mods would be the best?
tmagritte said:
I've found that any of the radios after the official Froyo version causes the GPS to fail after a few minutes as described by the OP. However, with some of the newer ROMS I've found that the newest radio doesn't completely lose the GPS signal but it does still seem to temporarily lose it but it then it comes back by itself (causes navigation to get stuck at a location for a minute or two every now and then).
I tried the driver and agps mod from this thread. At first it completely killed my GPS then someone posted about the required permission changes which fixed that. I haven't tried navigation so I can't say whether it prevents the temporary position loses, but it does seem to still be pretty slow to lock on and after it does lock on may take several minutes before the accuracy gets to a useful level.
I think I'm going to go back to the Froyo radio as that one seems to work the best for GPS and I'm not convinced it makes much of a difference for voice/data. Perhaps the Froyo radio with these mods would be the best?
Click to expand...
Click to collapse
I have noticed the "stuck position" before. I haven't paid attention to that with this mod before. I'll have to keep an eye out for it.
I have updated the OP to include a CWM flashable GPS_Fix.zip file. It worked for me, but if anyone wants to test it, I'd appreciate it.
The thing I am most curious about is if the file is copied with the correct permissions.
thanks.
Gadianton said:
I have updated the OP to include a CWM flashable GPS_Fix.zip file. It worked for me, but if anyone wants to test it, I'd appreciate it.
The thing I am most curious about is if the file is copied with the correct permissions.
thanks.
Click to expand...
Click to collapse
I flashed the update and after that the GPS locked on pretty quick. I haven't tested for navigation yet.
here's one with the gps.conf file, the supl.root.cert and the gps.glacier.so all put together if anyone would like to test it
quick satellite fixes and continuous GPS lock
(hopefully)
It worked on MIUI... Thanks...Its been losing signal for the longest time and now it locked in and never lost it again...
THANK YOU!!!!!!!!!!
spyderman33 said:
It worked on MIUI... Thanks...Its been losing signal for the longest time and now it locked in and never lost it again...
THANK YOU!!!!!!!!!!
Click to expand...
Click to collapse
I'm glad it helped you out!
Thanks best thing we needed yet. Works perfect wit miui.us.
Sent from my HTC Glacier using xda premium
I updated the OP to include the gps_update.zip put together by tnpapadakos and updated the thread title to include MIUI.

[ROM] Ubuntu Touch [Mar-6-2014]

Better explaination of Ubuntu OS and how it relates to us.
Ubuntu OS currently run on top of an Android "shell". The android layer contains the boot.img(kernel/ramdisk), initd, vendor specific drivers etc.. This is what first boots then the ubuntu file system is loaded within this Android "shell". This is why we need flash two zips to have it working(Android and Ubuntu). Ubuntu uses CM10.1 repos for the Android shell portion of the OS. This still works for us as we had official cm 10.1, though development wasn't long lived before moving to 10.2.
There is an AOSP 4.4.2 branch Ubuntu is working on to maybe replace the CM based Android component, but it is currently less stable than the CM based. Hopefully the AOSP branch becomes more stable in the near future as the development for our device is active there.
Built from source using modified mako tree/kernel
Working:
Most things..
Power key works to turn screen on and off after a reboot
Phone/SMS
3G/Wifi
Camera
Click to expand...
Click to collapse
Bugs/Not Working:
1. Cannot seem to add account with numbers in the email. The back button is active under the keyboard and is activated when trying to switch to numerical keypad
To Import Google Contacts from computer terminal:
adb shell
sudo -u phablet -i
syncevolution --configure --sync-property "[email protected]" --sync-property "password=secret" Google_Contacts
syncevolution --sync refresh-from-server Google_Contacts addressbook
2. Vol. Keys/Caps not working... doubt cap keys will be supported as the ui is made for not having them.
3. Wifi not remembered after reboot
4. Alarms don't work
Click to expand...
Click to collapse
Install from recovery:
1. Make your Nandroid to return to
2. Full Wipe
3. Install geeb zip
4. Install ubuntu zip - This is SLOW
5. Reboot and try - There is no boot animation so just be patient.. it boots
Click to expand...
Click to collapse
Downloads:
Geeb Zip
Ubuntu Zip
Ubuntu Touch change log
Don't Forget to hit the Thanks!
Please build for geehrc too
Haze028 said:
Just for something new to try.......Ubuntu Touch(Trusty) for the Geeb. Though not a daily driver by any means.....barely useable in most respects currently.
Built from source using modified mako tree/kernel
Working:
Phone/SMS
3G/Wifi
Camera
Bugs/Not Working:
Keyboard crashes
Unable to add account
Unable to install programs which is due to 2...which is do to 1....barely functional until fixed
Vol. Keys/Caps not working... doubt cap keys will be supported.
There are really alot more bugs...alot...but those are the two key
Install from recovery:
1. Make your Nandroid to return to
2. Full Wipe
3. Install geeb zip
4. Install ubuntu zip - This is SLOW
5. Reboot and try - There is no boot animation so just be patient.. it boots
Downloads:
Geeb Zip
Ubuntu Zip
Don't Forget to hit the Thanks!
Click to expand...
Click to collapse
I don't know if this thread is helpful for you, or maybe you've alreay seen it:
http://forum.xda-developers.com/showthread.php?t=2587823
i tried it and it booted successful on my geehrc. Wifi worked, also keyboard and i could add an account too. Phone/SMS didn't work due no signal. The keyboard had also one severe bug: In the terminal the enter key didn't work.
It's worth a try, you can easily remove it, you just have to reflash your recovery ( in my case TWRP ).
New update. Running ALOT smoother.
The ubuntu zip is a nightly offered through ubuntu so you can always re download that at any point and flash overtop current installation to get the latest. It's a large file so I usually get it weekly...
Will this work on the American geeb (e970)? :-?
topdawg7793 said:
Will this work on the American geeb (e970)? :-?
Click to expand...
Click to collapse
It should.... Let me know if not.
Seriously impressed by this, good job.
Haze028 said:
It should.... Let me know if not.
Click to expand...
Click to collapse
It works! Everything seems to be working; just a few bugs here and there with the keyboard and occasional glitches in performance but very impressive for something that's unoptimized..Thanks!
Can i flash this on geehrc?why do we need to flash geeb.zip?thanks.
Sent from my Optimus G using XDA Premium 4 mobile app
sunnytse1 said:
Can i flash this on geehrc?why do we need to flash geeb.zip?thanks.
Sent from my Optimus G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Its not for sprint yet.....I'll work on that this weekend hopefully.
The geeb.zip is needed because of how Ubuntu touch works. Its currently using a mako device tree that has been converted to flash on my e973, the at&t is pretty much the exact same which is why it works for them.
First you flash a cm10.1 based Ubuntu tweaked android sysyem-- geeb.zip
Second is the Ubuntu rootfs that goes atop the android base-- Ubuntu zip
I'm totally jacked to try this. I've downloaded each file twice and tried to get this running. Thing is that the md5s are different for each file. I tried all 4 combinations and let them try to boot for 30 mins each. I must be getting bad downloads lol
Long story short: I would be super grateful for some md5s, if you get a chance
Sent by my Nexus 6 through tears in rain.
=JKT= said:
I'm totally jacked to try this. I've downloaded each file twice and tried to get this running. Thing is that the md5s are different for each file. I tried all 4 combinations and let them try to boot for 30 mins each. I must be getting bad downloads lol
Long story short: I would be super grateful for some md5s, if you get a chance
Sent by my Nexus 6 through tears in rain.
Click to expand...
Click to collapse
Seems like this is starting to happen to more people..... wondering if ubuntu zip got changed causing it not to boot. I'll try to get a booting copy up today
EDIT:
I downloaded everything myself to try and con confirm it is currently not booting. Ubuntu has changed something that has broke our display. If you reboot the phone you can turn the screen on an off with the power button. I'll hopefully fix this this weekend.. though it's a busy one for me already. See what I can do
Haze028 said:
Seems like this is starting to happen to more people..... wondering if ubuntu zip got changed causing it not to boot. I'll try to get a booting copy up today
EDIT:
I downloaded everything myself to try and con confirm it is currently not booting. Ubuntu has changed something that has broke our display. If you reboot the phone you can turn the screen on an off with the power button. I'll hopefully fix this this weekend.. though it's a busy one for me already. See what I can do
Click to expand...
Click to collapse
Thanks! But yeah, nobody here assumes this should take priority over anything in your personal life we'll get it when we get it.
Sent by my Nexus 6 through tears in rain.
This weekend ended up being a write off for me so I'll have to see when I can get to making a new working zip, or maybe its an issue from ubuntu end they'll resolve.
Did anyone that tried this and had it boot happen to still have the trusty-preinstalled zip they used? If someone has one from 8th or earlier it should boot... i unfortunatly don't have an earlier build then the 13th... you can still download the 12th and up from the ubuntu phablet site... not sure if that pre-dates the issue or not.
Edit: I havn't tried the 13th build to say if it works or not. Here is the link to the phablet site if someone wants to try an earlier build. look for the preinstalled zip at the bottom of the page after selecting the date
I'll guinea pig a couple older builds and post which one works.
Sent by my Nexus 6 through tears in rain.
Ok, again I feel a little stupid(again).... I don't empty my Trash very often at all(on my computer or in real life), just neglected to think of it til now. I have an Ubuntu zip from the 4th still there, uploading it now(upload speed is slow... won't be done for an hour or so). Going to check that it boots as it should then i'll post the link.
Again, this is just to hold over untill I can try to see what I need to change to get us booting with the nightlies again.
EDIT: Can verify now that it boots. Here is the Ubuntu zip from the 4th. Remember, not that it really matters, this is an older version than the current.
Haze028 said:
Ok, again I feel a little stupid(again).... I don't empty my Trash very often at all(on my computer or in real life), just neglected to think of it til now. I have an Ubuntu zip from the 4th still there, uploading it now(upload speed is slow... won't be done for an hour or so). Going to check that it boots as it should then i'll post the link.
Again, this is just to hold over untill I can try to see what I need to change to get us booting with the nightlies again.
EDIT: Can verify now that it boots. Here is the Ubuntu zip from the 4th. Remember, not that it really matters, this is an older version than the current.
Click to expand...
Click to collapse
Confirmed, definitely boots. And I've successfully added all my accounts, but you've gotta either tap the top-right corner of the bottom-left 'swap' key to get the @ or the numbers, or the bottom-left corner of the swap-key (depends on which account you're trying to add - some of them have the Back button in the way which you can avoid by tapping the top-right corner of the swap key, and some have the Cancel button in the way, which you can avoid by tapping the bottom-left corner of the swap key). It's a pain the arse but it works.
I want to do the Google Contacts fix, but I want to do it from the handset's terminal app (i.e. not through ADB) - how do you do a return (Enter) in the Terminal app?
EDIT: found the fix for Enter and Backspace not working in terminal app. Flash this in recovery.
adzidek said:
Confirmed, definitely boots. And I've successfully added all my accounts, but you've gotta either tap the top-right corner of the bottom-left 'swap' key to get the @ or the numbers, or the bottom-left corner of the swap-key (depends on which account you're trying to add - some of them have the Back button in the way which you can avoid by tapping the top-right corner of the swap key, and some have the Cancel button in the way, which you can avoid by tapping the bottom-left corner of the swap key). It's a pain the arse but it works.
I want to do the Google Contacts fix, but I want to do it from the handset's terminal app (i.e. not through ADB) - how do you do a return (Enter) in the Terminal app?
EDIT: found the fix for Enter and Backspace not working in terminal app. Flash this in recovery.
Click to expand...
Click to collapse
Going to add this zip yo the OP, where did you find it so I can credit them when I link it
Would I be able to flash this on e975?
Sent from my LG-E975 using XDA Premium 4 mobile app
Haze028 said:
Going to add this zip yo the OP, where did you find it so I can credit them when I link it
Click to expand...
Click to collapse
oh, man i have no clue. i was googling like mad and stumbled across it. on the plus side, im typing this on my e971 running ubuntu touch !

T-Mobile Alliance ROM manual port to Verizon Note 4 (moved to Android development)

** Got Verizon Note 4 Dev Edition to work with Alliance T-Mobile ROM!! Data, calling, sms, mms work ! I smell a daily driver! **
ATTENTION: Please be careful make a nandroid of your current Verizon ROM. I am not responsible if you break your phone or lose data on your device!
**This is using the BETA version of Alliance ROM for T-Mobile Note 4. Read this thread: http://forum.xda-developers.com/not...-0-1-allianceromn910t-18-themes-huge-t3085560 to get an idea of the features of this ROM. Give lacoursiere18 and hsbadr a thanks and donate to them for making this great ROM and kernel.
Follow these steps one after the other and don't stop**
1. Make sure you are on a stock OAF Lollipop ROM using Multisystem #1 kernel, I think I used Rick's OAF Lollipop ROM. I am on BOG modem so I'm pretty sure any Lollipop modem will work with this.
2. Make copies on your SD card of:
- system/buildprop.xml & cscversion.txt
- system system/etc/apns-config.xml
- system/etc/permissions/verizon_net_sip_library.xml & vzwapnlib.xml
- system/lib/libril.so & libsec-ril.so
- system/apps/VzwActivationAgent & vzwapnpermission folders
- system/framework/VZWAPNLib.apk
- system/privapp/VZWAPNService & secmms_candy folders
- system/csc folder
Reboot
4. Reboot into recovery and make a TWRP backup of everything
5. While in recovery dirty flash Alliance ROM BETA on top of stock lollipop ROM OAF that is using Multisystem #1 kernel (Wipe everything except data, and SD of course.)
6. Delete system/privapp/diagmonagent.apk and system/lib/libdiagmonagent.so because at startup it was sending some kind of diagnostics and thought it was messing with the data drop. Ever since these changes and a reboot data has been stable!
Reboot
7. Download root browser and swap those copied files in the appropriate file location. Change them to the correct permissions (the folders get 0755 and the files 0644, compare with other files and folders that are in place already. Make sure you change the permissions on all folders copied over and their contents). **Longest Step**
Reboot
8. Edit feature.xml in the system/csc folder and add:
<CscFeature_RIL_ForceConnectMMS>true
</CscFeature_RIL_ForceConnectMMS>
Above these tags on the bottom :
</FeatureSet>
</SamsungMobileFeature>
This enables auto download mms when data is toggled off !
Reboot
9. Make an backup in TWRP and you have your own custom ROM
I'm pretty sure this ROM is not compatible with xposed but it is very customizable, smooth, and it comes with a lot of features built in.
**READ ME**
Bugs:
- Silent mode is only available using the toggle. Volume down only goes to vibrate.
**
- Battery section in settings is missing
- No way to remove battery percentage in status bar
(Workaround: Download "Battery Usage Shortcut" from the Playstore to access the battery section and to remove battery percentage)
**
- No way to uninstall 3mint battery mod without messing the systemui up
- Now that the mobile network settings are correct the advanced calling option is avaliable but it force closes and messes up your data connection. A reflash of everything will be needed so don't click on it! (I have a feeling a Verizon app is missing but not going crazy about this)
Any suggestions or thoughts about these current bugs would be helpful.
I cannot guarantee all Alliance settings will work but most of them do, it's awesome.
This manual port is now stable ! All basic phone functions work. Let me know if you come across any bugs or issues not related to Alliance settings. I will try to help fix it.
Thanks Stedrocklp for taking the time to try and get this working. Jal3223 thanks for sharing that key porting info!!! Wouldn't be possible without your help! Thanks hsbadr for developing Multisystem kernel ! Thanks lacoursiere18 for creating this ROM !
I did the same thing with similar results. Unfortunately I don't have the knowledge needed to get it functioning on the VZW N4. I still faithfully run alliance on my N3 and am dying to have it on my N4. Maybe we should try to get one of our great devs to hook us up.
stedrocklp said:
I did the same thing with similar results. Unfortunately I don't have the knowledge needed to get it functioning on the VZW N4. I still faithfully run alliance on my N3 and am dying to have it on my N4. Maybe we should try to get one of our great devs to hook us up.
Click to expand...
Click to collapse
I hear you man I came from the Note 2 with Alliance. That would be nice hopefully one sees this thread. So I should be a little more descriptive with the process of getting it stable with just mms and sms failing. I am sure coming from any LP ROM without xposed preloaded will work. I dirty flashed from Ricks ROM and get a Play Services error and it keeps popping up. I went into the app info of Google settings app, clicked manage storage, and wiped all data and then cache. After that it seems stable. I also edited the build.prop using build prop editor and changed all the tmo entries with vzw, saved, and rebooted and got the Verizon data icon signals. The mms and sms issue I believe has something to do with APNS but idk how that works. There is no way to edit the APNs in the mobile network settings by the way. I'm dying to get this to work too lol
I actually went in and put in the Verizon apns in the apns-conf.xml and I still couldn't get sms to work. What's funny is that I did get MMS to work so when I sent a message to anyone, I would send a pic too. My friends and family were like why do you keep sending nonsense photos LOL. Would it be something with the kernel/boot.img you think?
stedrocklp said:
I actually went in and put in the Verizon apns in the apns-conf.xml and I still couldn't get sms to work. What's funny is that I did get MMS to work so when I sent a message to anyone, I would send a pic too. My friends and family were like why do you keep sending nonsense photos LOL. Would it be something with the kernel/boot.img you think?
Click to expand...
Click to collapse
What values do you replace in the apns-conf.xml ? Yeah it's probably the boot.img how do we replace that? I tried doing this in the past but couldn't find our boot.img in a ROM. And every time I zipped the ROM back it never flashes always an error. I think it needs to be signed but idk how to do that. We're almost there !
I am going to try to swap the APN's and the boot IMG from a working Verizon rom and see what happens. I got so close to having it work I just couldn't get sms to work no matter what edits or adjustments I made. Having the MMS work meant that there was hope there must just be something I am missing. Let me do some tinkering and see if I can come up with something functional. If there is a will there is a way. Right?
stedrocklp said:
I am going to try to swap the APN's and the boot IMG from a working Verizon rom and see what happens. I got so close to having it work I just couldn't get sms to work no matter what edits or adjustments I made. Having the MMS work meant that there was hope there must just be something I am missing. Let me do some tinkering and see if I can come up with something functional. If there is a will there is a way. Right?
Click to expand...
Click to collapse
What you taking about you don't know how to do this stuff lol. Yeah man there has got to be a way. We basically ported it lmao. Let me know what happens !
Maybe we should replace these files too? And what do you think this sentence means? That could be the problem, maybe? Lol
So far I have swapped the APNs and have copied the verizon specific apps that you mentioned. I am currently at the alliance boot animation but ? takes so long to load on the first boot I can't tell if it's stuck or I am impatient.
Sent from my SGP561 using Tapatalk
That's the worst wait ever lol
Well I have two failed attempts using the inernational version. Now I am going to try on the T-Mobile version with the same edits. I am going to get this going one way or the other.
stedrocklp said:
Well I have two failed attempts using the inernational version. Now I am going to try on the T-Mobile version with the same edits. I am going to get this going one way or the other.
Click to expand...
Click to collapse
I have my fingers crossed ! Did you do anything with the boot.img?
Yes I am using the boot.img from morom and it does get to the boot animation so we should be headed in the right direction.
stedrocklp said:
Yes I am using the boot.img from morom and it does get to the boot animation so we should be headed in the right direction.
Click to expand...
Click to collapse
Awesome! I'm saying my prayers haha :highfive:
jcip17 said:
That's the worst wait ever lol
Click to expand...
Click to collapse
Well I am getting closer to success. I got it to boot all the way though and go through the setup process. One problem; No Service! For some reason I am getting no service at all so I will have to recheck that all the Verizon BS is in place and working. Geesh Verizon sure does make this more difficult than it needs to be. Moving in the right direction though!
stedrocklp said:
Well I am getting closer to success. I got it to boot all the way though and go through the setup process. One problem; No Service! For some reason I am getting no service at all so I will have to recheck that all the Verizon BS is in place and working. Geesh Verizon sure does make this more difficult than it needs to be. Moving in the right direction though!
Click to expand...
Click to collapse
That's great that you got it to boot. Even though this may seem tedious, maybe try doing one verizon specific app by one? And maybe try replacing the T-Mobile mms-candy with the verizon one. I forgot lacoursiere18 recommended that when I was trying to make it work in the past. I tried doing it while I had Alliance installed and it messed up the app. The emoji kinda like this one was in place of the send button. It was actually pretty funny that that happens but idk maybe having it pre-installed will have better results? He also said something about the libs but I guess we should try one change at a time lol
I read the permissions of this application and it seems to deal with sending and receiving text messages and mms. Maybe this is the piece that was missing after editing the apns?
The T-mobile variant has two. Bin files the I removed thinking the we wanted to use the verizon modem but maybe they need to be there so I just added them back. I added the activation agent and all other verizon apps and libs. I couldn't find a lib file for mms_candy but I did swap them. Did you edit anything when you flashed or did you just flash as-is?
Sent from my SGP561 using Tapatalk
stedrocklp said:
The T-mobile variant has two. Bin files the I removed thinking the we wanted to use the verizon modem but maybe they need to be there so I just added them back. I added the activation agent and all other verizon apps and libs. I couldn't find a lib file for mms_candy but I did swap them. Did you edit anything when you flashed or did you just flash as-is?
Sent from my SGP561 using Tapatalk
Click to expand...
Click to collapse
So far I only flashed as is. What values did you change on the apn config to get mms working? I completely swapped it with the Verizon one but that didn't work.
Got mms to work using GoSms and manually configuring the APN the msmc whatever to http://mms.vtext.com/servlets/mms
And the mms port to 80.
Now if we can only get sms to send we have a fully functioning alliance ROM on Verizon !

[DO YOU HAVE FILES]I Need EVERYONE's HELP!!!

ATTN: I NEED EVERYONE'S HELP!!! PLEASE!!!​Here's what I need you to do!​Find and Search through your PC's and look for any complete or decently stable ROM's, RECOVERY's, KERNEL's and any possible missing links / files / documents for the LG Optimus V regardless of it's version or kernel and Send me WORKING links, files, of anything you got. All the links for this phone are dead... I've checked all over the web. This is still a great phone, and can still be used either with Boost Mobile or simply with a Credit or Debit card. A friend and I plan on revamping this phone to see if we can't bring it back to it's glory. But in order to do so.... Got to have the Archives! Every link is dead.... PLEASE PLEASE PLEASE search around for anything LG Optimus V, VM670, Thunderc Optimus S is also appreciated.
THANK YOU FOR YOUR TIME AND PATIENCE
Send them to me, in a PM and or share them with me to my Google Drive via email.... PM for email... thanks
You may post links here only as long as the owner hasn't pulled the files for TOS Violations.
To be honest.... if your unsure, just PM the links.
I'm taking any and all files that are DEAD links
anything I can redownload as of today's date, will be unwanted.
But don't let that discourage you from SHARING THEM AWESOME FILES AND RE-UPLOADED LINKS!
THANK YOU THANK YOU THANK YOU!!!
:good::laugh:
I left a reply regarding KitKat and twrp in the hijacked mmarz thread.
as far as active links, here's one:
https://sites.google.com/site/bobzhomeroms/
also be aware when messing with recovery and roms on the Optimus V, you'll be fine if you have the original display (I think that's the Hitachi but may be the Novatek.)
it's been so long I forget which was which.
but during production, lg decided to add a different screen manufacturer, updated their kernel source with a driver to handle both.
older kernels than that will only drive the original screen.
I made a big stink about it for a while, while there was still development going on, and eventually people started patching their kernel configs to turn on the newer screens too, once everyone realized I knew what I was talking about.
so if you have the original screen model, you're golden. if you have a new screen and flash an older rom or recovery (like xionia, for example) you'll get a black screen with backlight instead of display output and be left with nothing but adb or poking around at the display blind.
fair warning.
Here's some Optimus S stuff I used to use,was able to download from here today, https://archive.midnightchannel.net/zefie/files/cell/LGLS670/
bigsupersquid said:
I left a reply regarding KitKat and twrp in the hijacked mmarz thread.
as far as active links, here's one:
https://sites.google.com/site/bobzhomeroms/
also be aware when messing with recovery and roms on the Optimus V, you'll be fine if you have the original display (I think that's the Hitachi but may be the Novatek.)
it's been so long I forget which was which.
but during production, lg decided to add a different screen manufacturer, updated their kernel source with a driver to handle both.
older kernels than that will only drive the original screen.
I made a big stink about it for a while, while there was still development going on, and eventually people started patching their kernel configs to turn on the newer screens too, once everyone realized I knew what I was talking about.
so if you have the original screen model, you're golden. if you have a new screen and flash an older rom or recovery (like xionia, for example) you'll get a black screen with backlight instead of display output and be left with nothing but adb or poking around at the display blind.
fair warning.
Click to expand...
Click to collapse
So the JB rom boots okay,how do i setup Sprint apn/keylayout?
bigsupersquid said:
I left a reply regarding KitKat and twrp in the hijacked mmarz thread.
as far as active links, here's one:
https://sites.google.com/site/bobzhomeroms/
also be aware when messing with recovery and roms on the Optimus V, you'll be fine if you have the original display (I think that's the Hitachi but may be the Novatek.)
it's been so long I forget which was which.
but during production, lg decided to add a different screen manufacturer, updated their kernel source with a driver to handle both.
older kernels than that will only drive the original screen.
I made a big stink about it for a while, while there was still development going on, and eventually people started patching their kernel configs to turn on the newer screens too, once everyone realized I knew what I was talking about.
so if you have the original screen model, you're golden. if you have a new screen and flash an older rom or recovery (like xionia, for example) you'll get a black screen with backlight instead of display output and be left with nothing but adb or poking around at the display blind.
fair warning.
Click to expand...
Click to collapse
I remember from back in the day we had the screen problem... You fixed and addressed it...
But some ROM I baked up didn't work even with the fix... I had the Kernel made with the ROM and the screen still didn't work... I'm working past that now as a matter of fact.
Wasen't it the Pickasticks Recovery... or a file... or something either way I found your old post...
Worked with LesileAnn with somethings too Haha Thank you again for the long lost files!!
timjames474 said:
So the JB rom boots okay,how do i setup Sprint apn/keylayout?
Click to expand...
Click to collapse
I might be able to help you, Tell me what ROM exactly and what it says is WORKING and NOT WORKING on the main page of the post... or a link... It could be like you said a simple set up.
But I do remember having to change something to get other carriers to work. Because it was only a CDMA phone. No GSM. If I remember correctly
redbaron2005 said:
I remember from back in the day we had the screen problem... You fixed and addressed it...
But some ROM I baked up didn't work even with the fix... I had the Kernel made with the ROM and the screen still didn't work... I'm working past that now as a matter of fact.
Wasen't it the Pickasticks Recovery... or a file... or something either way I found your old post...
Worked with LesileAnn with somethings too Haha Thank you again for the long lost files
Click to expand...
Click to collapse
you have to crack open the boot.img and replace just the kernel with a working one. it's "fun."
and finding a working kernel for the newer screens now as a standalone download is really iffy. (actually, see next post. I found /one./)
if you have another jb rom with working screen you can split that boot.img and yoink its kernel for the one that doesn't have more than a backlight. you can also plop that picasticks kernel from below into any blackscreen recovery images too, they split and recombine just like a boot image.
a lot of people call the boot.img a kernel, but it's actually a combination of kernel and ramdisk.
you can use osm0sis AIK tools to disassemble and reassemble boot.img relatively painlessly.
I'm happy to promote osm0sis's work. he does great things. drop him a donation if you're so inclined, he certainly deserves it.
by the way, don't try to insert the 3.0 kitkat kernel into anything else... it probably won't boot. jb is the best bet to try it on though, thekraven nudged me into porting that kernel from the p500 for his jb roms. I'm glad he did, because the experience has been very useful on other devices.
ok, here's my gift to y'all.
https://www.androidfilehost.com/?w=files&flid=317344
archive of the primary goodies from my old failing NTFS external drive. We'll see how long it takes for androidfilehost to arbitrarily delete them like they did every other file I ever uploaded there for the optimus S/V with no warning or acknowledgment. they never even answered multiple support requests trying to find out why... I'm guessing they decided to clean their servers of things uploaded before a certain date, but no telling since they wouldn't answer.
in the kernels subfolder is a picasticks kernel i built for the old/new screens.
multiple recoveries. some are old and may blackscreen on newer devices, fair warning. some roms will be the same way. the twrp's may or may not have reversed system/userdata like my os2sd twrp, try and see. they should at least be good on any model optimus s/v screen.
several roms, including one harmonia, and PAC-rom from thekraven.
others folder has V drivers... and swype flashable zip, ripped probably from GB stock, maybe from froyo stock.
also multirom recoveries and installer if you like multiboot. thread here
have fun.
redbaron2005 said:
I remember from back in the day we had the screen problem... You fixed and addressed it...
But some ROM I baked up didn't work even with the fix... I had the Kernel made with the ROM and the screen still didn't work... I'm working past that now as a matter of fact.
Wasen't it the Pickasticks Recovery... or a file... or something either way I found your old post...
Worked with LesileAnn with somethings too Haha Thank you again for the long lost files!!
I might be able to help you, Tell me what ROM exactly and what it says is WORKING and NOT WORKING on the main page of the post... or a link... It could be like you said a simple set up.
But I do remember having to change something to get other carriers to work. Because it was only a CDMA phone. No GSM. If I remember correctly
Click to expand...
Click to collapse
i got data fine it was more the keys that was bugging the **** outta me
this one here from another link posted here,i use Tello,which uses Sprints MMSC,and yes i figured out actvating data just last week! Downgrade to ZVD and let HFA run. Thats literally it
forgot the link https://sites.google.com/site/bobzhomeroms/vm670jb
timjames474 said:
i got data fine it was more the keys that was bugging the **** outta me
this one here from another link posted here,i use Tello,which uses Sprints MMSC,and yes i figured out actvating data just last week! Downgrade to ZVD and let HFA run. Thats literally it
forgot the link https://sites.google.com/site/bobzhomeroms/vm670jb
Click to expand...
Click to collapse
you need the correct .kl file, I've probably got one stashed somewhere.
it switches the two keys in software.
it's funny, because both the virgin and sprint phones have the same board, but the firmware reverses which key is read as which.
I'll look around and try to find the .kl file for you. androidfilehost deleted my flashable zips with those along with everything else for the S/V a while back as I was complaining about above, or I'd just point you there.
bigsupersquid said:
you need the correct .kl file, I've probably got one stashed somewhere.
it switches the two keys in software.
it's funny, because both the virgin and sprint phones have the same board, but the firmware reverses which key is read as which.
I'll look around and try to find the .kl file for you. androidfilehost deleted my flashable zips with those along with everything else for the S/V a while back as I was complaining about above, or I'd just point you there.
Click to expand...
Click to collapse
if you manage to find it,do let me know! TIA
timjames474 said:
if you manage to find it,do let me know! TIA
Click to expand...
Click to collapse
I can pull the one from the rom on my V and switch the keys.
no flashable zip, you'll have to use adb to install it, I'll post the commands
it's home and menu that are swapped if I remember right, is that correct?
it's actually a .kcm file, I've messed with so many devices I mix things up sometimes.
Sorry for being gone so long,yes those are the keys,my Optimus S had been dropped one time too many but i finally replaced it and am still interested in getting those files and commands
alright, I'll pull the file and swap those two keys.
I don't remember any oddball locations for the file across different roms... but since it has been a while since I did anything much with this device, just to make sure, I'll add a test to the instructions to make sure it's going into the right location.
bigsupersquid said:
alright, I'll pull the file and swap those two keys.
I don't remember any oddball locations for the file across different roms... but since it has been a while since I did anything much with this device, just to make sure, I'll add a test to the instructions to make sure it's going into the right location.
Click to expand...
Click to collapse
Seems that it always goes to /system/usr and the two folders are keylayout and key(something else idr) the one that i cannot remember the name for is where the .kcm files are at
since harmonia has two applicable .kl files, thunder.kl and thunder_keypad.kl I'm not sure which to mess with.
they're in /system/usr/keylayout/
the process is to adb pull the thunder*.kl file from your working ROM (whichever file it is, thunder.kl or thunder_keypad.kl,) back it up on computer with a copy in case you mess it up, then:
change all instances of HOME to MENU and MENU to HOME. I can't remember how much difference the WAKE and WAKE_DROPPED field makes, but you can switch those too, or leave that alone and try it.
if you're using M$ window$, don't push the enter/return key while editing unless you're editing with notepad++, the default editor screws up carriage return line feed character codes. mac or linux shouldn't dork up the CRLFs.
chmod 644 the file after pushing it back, and chown root:root
I'd have to grab it from one of the cm rom files I uploaded for a better reference, and I'd rather not re-download them or try to get my failing external drive they're on to mount at the moment.
bigsupersquid said:
since harmonia has two applicable .kl files, thunder.kl and thunder_keypad.kl I'm not sure which to mess with.
they're in /system/usr/keylayout/
the process is to adb pull the thunder*.kl file from your working ROM (whichever file it is, thunder.kl or thunder_keypad.kl,) back it up on computer with a copy in case you mess it up, then:
change all instances of HOME to MENU and MENU to HOME. I can't remember how much difference the WAKE and WAKE_DROPPED field makes, but you can switch those too, or leave that alone and try it.
if you're using M$ window$, don't push the enter/return key while editing unless you're editing with notepad++, the default editor screws up carriage return line feed character codes. mac or linux shouldn't dork up the CRLFs.
chmod 644 the file after pushing it back, and chown root:root
I'd have to grab it from one of the cm rom files I uploaded for a better reference, and I'd rather not re-download them or try to get my failing external drive they're on to mount at the moment.
Click to expand...
Click to collapse
I was able to pull from CM7 for LS670 and swap,fix perms and voila! Also noticed getting gapps to work on BobzHomes jb is a PITA,as there appears to be no setupwizard so it thinks its in setup,but its not. i looked at build.prop and shut off the setupwizard bypass but nothin. Nearing the point where i say frick gapps at this point
timjames474 said:
I was able to pull from CM7 for LS670 and swap,fix perms and voila! Also noticed getting gapps to work on BobzHomes jb is a PITA,as there appears to be no setupwizard so it thinks its in setup,but its not. i looked at build.prop and shut off the setupwizard bypass but nothin. Nearing the point where i say frick gapps at this point
Click to expand...
Click to collapse
yeah, gapps suck. and it's even worse dealing with them on a device which has such a small system and data partition.
you might look into microg. I prefer it anyway.
glad you got the keyswap to work.
bigsupersquid said:
yeah, gapps suck. and it's even worse dealing with them on a device which has such a small system and data partition.
you might look into microg. I prefer it anyway.
glad you got the keyswap to work.
Click to expand...
Click to collapse
MicroG has a broken login,the login box is all the way off screen for me,but ive since gotten a modern phone at the gentle prodding at Tello anyway

Categories

Resources