[ROM][JB][02/28/2019] aospSX 1.0.9

Search This thread

jwhood

Senior Member
Mar 4, 2011
1,080
195
baltimore,md
Can't believe you are still updating the ole mt4g still,that's great commitment I still have mine I'm gonna try it

Sent from my HUAWEI P8max using Tapatalk
 

jwhood

Senior Member
Mar 4, 2011
1,080
195
baltimore,md
Does camera work now cause I vlog on a modded 50cc scooter and I'm gonna be using mt4g for shooting videos and camera shots?

Sent from my HUAWEI P8max using Tapatalk
 

Steppnasty

Senior Member
Oct 11, 2012
77
99
Washington D.C.
Does camera work now cause I vlog on a modded 50cc scooter and I'm gonna be using mt4g for shooting videos and camera shots?

Sent from my HUAWEI P8max using Tapatalk

I currently only have a 720p resolution coded into the daemon for video recording and the frame rate seems a bit choppy. Also I don't think sound is getting recorded. I plan on adding more camera modes and fixing the sound before the next release, as well as adding the front facing camera.
 
  • Like
Reactions: ibuddler and jwhood

hayati1

Member
Dec 12, 2010
38
4
link aospx 1.0.3

hello. May I know where is the link for aospx 1.0.3? I have downloaded aospX-1.0.0. Thanks
 

marchingknight11

Senior Member
Dec 29, 2011
79
22
I can't get this to work at all. I installed the most recent version and when it boots I immediately get a force close on OTA Updater, and then any time I open the keyboard I get a force close on it and I can't type anything. also the Home button doesn't work.
 
  • Like
Reactions: Steppnasty

Steppnasty

Senior Member
Oct 11, 2012
77
99
Washington D.C.
I can't get this to work at all. I installed the most recent version and when it boots I immediately get a force close on OTA Updater, and then any time I open the keyboard I get a force close on it and I can't type anything. also the Home button doesn't work.

OTA Updater is broken in 1.0.3. The version that is there is incompatible with this version of Android but I haven't had it FC on me. The good news is this is already fixed in my test build and I have added the OTA controls to the Settings app. That is just one of a large number of changes that I have made that I still have yet to commit. I am currently still tweaking the new camera build and once that is ready I will begin committing the changes. In the meantime you can remove the OTA Updater apk by doing this in Linux:
sudo adb remount
adb shell rm /system/app/OTAUpdater.apk

As for the keyboard and home button issue I'm not sure what is causing that. If you post a logcat I can take a look at it.
 

Cyntil8ing

Member
Mar 24, 2013
33
2
It's not accessing my SIM card. I'm not getting anything from my cell provider.

Wiped all data and cache
Flashed ROM then JB GAPPS
Coming from AOSP 4.3 JB but now randomly boot looping.

Also, thanks so much for continuing to develop for the MT4G.
 
Last edited:
  • Like
Reactions: Steppnasty

Steppnasty

Senior Member
Oct 11, 2012
77
99
Washington D.C.
It's not accessing my SIM card. I'm not getting anything from my cell provider.

Wiped all data and cache
Flashed ROM then JB GAPPS
Coming from AOSP 4.3 JB but now randomly boot looping.

Also, thanks so much for continuing to develop for the MT4G.
One thing you can try:
Do a clean wipe (assuming you are using clockwork, do a factory reset then do mounts->format /system)
Flash ROM without flashing GAPPS.

If you still get a bootloop post the logcat.

Thanks
 

Cyntil8ing

Member
Mar 24, 2013
33
2
One thing you can try:
Do a clean wipe (assuming you are using clockwork, do a factory reset then do mounts->format /system)
Flash ROM without flashing GAPPS.

If you still get a bootloop post the logcat.

Thanks

Thanks for the response.

After following your instructions, I'm still not receiving any mobile networks. Even when I try to manually select the mobile network (Settings > More > Mobile networks > Network operators), I get the response "Error while searching for networks". It's like your ROM isn't detecting the SIM card. Normally I'd get prompted to unlock my SIM but in this case, I'm not even after switching carrier SIMs. Any Ideas as to a fix?

BTW, you assumed correct. I am using CWM and the boot loop wasn't from your ROM, it was from my previous ROM that I linked.
 

Steppnasty

Senior Member
Oct 11, 2012
77
99
Washington D.C.
Thanks for the response.

After following your instructions, I'm still not receiving any mobile networks. Even when I try to manually select the mobile network (Settings > More > Mobile networks > Network operators), I get the response "Error while searching for networks". It's like your ROM isn't detecting the SIM card. Normally I'd get prompted to unlock my SIM but in this case, I'm not even after switching carrier SIMs. Any Ideas as to a fix?

BTW, you assumed correct. I am using CWM and the boot loop wasn't from your ROM, it was from my previous ROM that I linked.
Because I don't have a t-mobile account anymore, cell network issues are hard to spot and troubleshoot. However I was able to flash an earlier version and I could see the networks on that one and not on the latest version so I can confirm that this is not just an issue with your phone. I'll try to figure out what is causing this and post an update.

Thanks.
 

Steppnasty

Senior Member
Oct 11, 2012
77
99
Washington D.C.
Thanks for the response.

After following your instructions, I'm still not receiving any mobile networks. Even when I try to manually select the mobile network (Settings > More > Mobile networks > Network operators), I get the response "Error while searching for networks". It's like your ROM isn't detecting the SIM card. Normally I'd get prompted to unlock my SIM but in this case, I'm not even after switching carrier SIMs. Any Ideas as to a fix?

BTW, you assumed correct. I am using CWM and the boot loop wasn't from your ROM, it was from my previous ROM that I linked.
Because I don't have a t-mobile account anymore, cell network issues are hard to spot and troubleshoot. However I was able to flash an earlier version and I could see the networks on that one and not on the latest version so I can confirm that this is not just an issue with your phone. I'll try to figure out what is causing this and post an update.

Thanks.
 

Cyntil8ing

Member
Mar 24, 2013
33
2
Because I don't have a t-mobile account anymore, cell network issues are hard to spot and troubleshoot. However I was able to flash an earlier version and I could see the networks on that one and not on the latest version so I can confirm that this is not just an issue with your phone. I'll try to figure out what is causing this and post an update.

Thanks.

Thank you for the confirmation. Hope you find a fix soon.
 

hayati1

Member
Dec 12, 2010
38
4
Hello

I have flashed the latest rom. No force close but the gps is off. The sygic said the gps is not enabled. I have turn on the location. Thanks
 
  • Like
Reactions: Steppnasty

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    I am not responsible for anything you do to your device.

    Current Android Version: 4.2.2
    Current Kernel: 2.6.36

    Features

    Project Butter (ION Memory Management, Improved VSYNC & Triple Framebuffer)
    Open source camera daemon

    Downloads
    aospSX:

    ROM: aospSX 1.0.9
    GAPPS: JB 20130812
    Stepp_aospX:
    ROM: code.google.com Final md5sum - 714b512470643e582ea75c08f65b2a40
    GAPPS: ICS 20120317

    Installation
    Make sure you have S-OFF
    I recommend backing up all data
    Wipe data and cache (Recommended but optional if updating from aospX or aospSX)
    Flash ROM
    Reboot

    Notes
    OTA Updating

    As of 2/19/18, OTA is functional. Currently hosting OTA ROM on DropBox. Previously used XDA's devDB for OTA but they removed the ability to link directly to the ROM.
    Tested on CWM recovery. Let me know of any issues.
    If update fails in recovery, download is located in /sdcard/OTA-Updater/download/ folder.

    Issues
    Known Bugs

    none
    Known App Incompatibilities
    none

    Changelog - The short version
    Code:
    [B]1.0.9[/B]
    - Fixed boot crash for Glacier phones with "M4G2DE" model internal flash.
    - Fixed issue where headphones were not recognized.
    - Added hardware key custom rebinding from CM.
    - Allow camera button (long press) to select different camera app.
    - Camera Updates
      - Fixed issue where using the camera button to focus would not turn off LED when button is released.
      - Fixed issue where using the camera button to focus would break the next call to focus.
      - Fixed occasional freeze when taking a picture.
    
    [B]1.0.8[/B]
    - Switched to JB sound package.
    - Fixed bug where incorrect signal strength was being reported.
    - Camera Updates
      - Added Auto-Focus
      - Auto exposure improvements
      - Added WVGA camcorder mode
    
    [B]1.0.7[/B]
    - Added blue notification led
    - Fixed display auto-brightness
    - Fixed physical button lights
    - Fixed issue where SetupWizard would not finish properly
    - Fixed YouTube video playback.
    - Fixed issue where copying to phone with USB Mass Storage would be 3 times slower.
    - Camera Updates
      - Added flash for camera.  This also fixes Torch.
      - Tweaked auto exposure to adjust faster.
    - Kernel Updates
      - Tweaked power management idle and sleep modes.
      - Fixed trackball wake when sleeping.
      - Fixed issue where CPU frequency was stuck at 768Mhz.
      - Fixed issue where user-configured max CPU frequency not being restored at boot.
      - Added overclocking support.
      - Allow CPU frequency to be underclocked at 192Mhz. Originally set at 256Mhz.
    
    [B]1.0.6[/B]
    - Lots of kernel updates:
        - USB driver updated to JB 4.2.2 from CAF
        - Kernel version updated to 2.6.36
        - Clocks, power management, etc updated to 2.6.38/CAF.
    - Improvements made to camera daemon
    - GPS Fixed
    - Added current CPU speed in Performance settings.
    
    [B]1.0.5[/B]
    - Fixed SIM card not being recognized
    - OTA Tweaks
    
    [B]1.0.4[/B]
    [U]Android updates[/U]
    - All but four ICS packages updated to JB MR1
    - OTA Updater fixed
    - Performance settings, Advanced reboot and Kill app back button options re-added from aospX
    - Root access settings added
    - Complete rewrite of mm-open-daemon:
        - Added support for front facing camera
        - Improved auto exposure algorithm
        - Wrote formulas to calculate several VFE settings instead of hard coding them, allowing different camera modes to be utilized
        - Added different modes/resolutions for both camera sensors
        - Various other fixes/improvements
    - Updated to CAF Camera App
    - Adreno Blobs Updated to JB MR1
    - Fixed bug where animations would not render the last frame
    - Fixed audio not recording for camcorder
    
    
    [U]kernel updates[/U]
    - Framebuffer driver updated
    - GPU driver updated
    - New Camera2 driver for MT9V113 (FFC)

    Thanks/Credits
    Synthetic.Nightmare - big thanks for his guidance/support and for providing the base for which I am using for this rom.
    The aospX team
    The CyanogenMod Team
    XDA developers
    Code Aurora Forums
    Other devs still keeping this phone alive
    Anyone else I may have forgotten

    XDA:DevDB Information
    aospSX, ROM for the HTC Glacier: myTouch 4G

    Contributors
    Steppnasty
    Source Code: http://github.com/steppnasty

    ROM OS Version: 4.2.x Jelly Bean
    ROM Kernel: Linux 2.6.x
    Based On: AOSP

    Version Information
    Status:
    Stable
    Current Stable Version: 1.0.9
    Stable Release Date: 2019-02-28

    Created 2014-08-17
    Last Updated 2019-03-01
    7
    Since the last update I have been working on getting the camera operational. I could have taken the easy route and just brought up PMEM just for the camera but that would have been messy and it would make any future updates I do a PITA. So I dove into the code and learned a few things that I thought I would share here since it is difficult to find any documentation online. First of all I originally thought that libcamera was made open source for jellybean. This is actually only partially correct. When I was trying to make the libcamera code work I kept running into issues where it felt like the code was not finished. For instance, libcamera would send an IOCTL to the kernel and expect a response from a second non-existant thread. After writing in a substantial amount of "missing" code into libcamera in an effort to "complete" it, I decided to google one of the IOCTLs that were missing from libcamera. I managed to find something on a chinese website that wasn't much help except for the title of the page which was "mm_qcamera_daemon". After doing some research on this I came to the conclusion that the "missing thread" from libcamera was actually a separate program that communicates with libcamera and the kernel driver. So prior to Jellybean the camera was structured like this:

    Camera App->android frameworks->libcameraservice->camera HAL->libcamera->liboemcamera->kernel driver

    As of Android 4.2.2 it was reworked to look something like this:

    camera App->android frameworks->libcameraservice->camera.msm7x30->libmmcamera_interface->kernel driver
    mm_qcamera_daemon->kernel driver

    Basically the proprietary imaging functions were moved out of the main thread and into a separate executable that runs at boot. There were significant changes made to the kernel drivers that are similar to the changes made to the framebuffer drivers. The camera sensor drivers have had most of their functions moved to a sort of shared sensor driver with the actual sensor drivers mostly holding specific register settings. A lot of the changes were made to tie the camera sensors into Video For Linux 2 (V4L2). Userspace functions in libmmcamera & mm_qcamera_daemon then talk to the camera drivers through V4L2.

    So I managed to write a Jellybean camera sensor driver for the main rear camera that works with this new format. I have also made progress writing a program that will act as the daemon. Currently I have a camera preview on the rear facing camera. I still have clean up to do on my local code before I commit as everything is a mess right now. I am trying to get everything close to the jb_mr1.1-release branch AOSP with as few modifications as possible. If everything goes smoothly I should be able to post the next release in a couple of weeks.
    6
    Just posted new version (4.2.2). This is still a work in progress so expect a few bugs that I don't know about.
    5
    1.0.3 is up. Lots of bug fixes, camera fixes, etc. Let me know if you dirty flash and are unable to find the Camera app. Or any issues that is.
    4
    1.0.2 is up! Lots of updates. Rear camera works. Sort of. Still a work in progress but I figured I would add the theme manager as a distraction. So enjoy!