[ROM][Aug 25] Jellybean 4.2.2 for Endeavoru AOSP Build [Kernel 3.1.10] [JDQ39] #20

Search This thread

pabx

Senior Member
Apr 5, 2011
598
1,801
Zurich
BoAyu.png

Banner by Sebianoti

Me and rogro82 started to port Android 4.2 to the HTC One X


Working
  • Wireless
  • Phone calls
  • GSM Data
  • Audio
  • Video Playback (including HD)
  • Camera (no photosphere - blame google)
  • GPS
  • NFC
  • Bluetooth
  • BT and Wireless tethering

Not Working
  • USB tethering (?)

Installation instructions
  • BACKUP YOUR DATA (using CWM)
  • Verify that your backup is complete - a backup of your sdcard may also be a good idea (see below)
  • Verify that you are running hboot 1.26 or newer (hboot 1.39 is recommended)
  • Download the ZIP and the boot.img (see Downloads)
  • Copy the .zip to your sdcard and reboot into fastboot
  • fastboot flash boot boot.img, then boot into recovery
  • WIPE your phone (this is not optional)
  • Install the .zip and reboot

Upgrading
You can always upgrade to a newer version without wiping any data, formatting system or wiping the cache.
But keep in mind that you must always flash boot.img + re-flash gapps after upgrading

Changelog

RC20 (20130825)
  • Fixed the two Android 'master key' bugs
  • Kernel patch for CVE-2013-2094
RC19 (20130317)
RC18 (20130311)
  • Option to control button backlight depending on the screen brightness (Settings -> Display)
  • Software fix for pabx's broken headphone jack detecion: Added an option to forcefully route mediaplayer-output to the headphone jack. (Settings -> Audio)
RC17 (20130301)
  • Use latest WIFI Firmware (improves reception)
RC16 (20130216)
  • Added ro.adb.secure=1 to build.props. The phone will now only accept ADB connections from authenticated hosts. Note that you must upgrade your local ADB installation to the version included in the 4.2.2 SDK. Connecting with an pre-4.2.2 adb will not work
  • Fixed quicksettings: longpress = toggle, press = settings
  • Internal: Use CMs nicer audio-recording patch
RC15 (20130213) Android 4.2.2
  • Upgraded to Android 4.2.2_r1
  • Silenced vibrate kernel driver + removed unneeded pm_qos request
RC14 (20130208) Kernel 3.1.10
  • First release with Linux 3.1.10. Note that you MUST upgrade your hboot to 1.3x (1.2 versions may work - any feedback is appreciated, but any version < 1.2 will NOT work - your phone will freeze during deepsleep!)
  • Mounting USB-OTG devices on 4.2 is somewhat tricky as filesystems are not shared with 'parent' processes - using some userspace app like 'Nexus Photo Importer' is recommended
  • Switched to ondemand govenor as the old 'interactive' is broken in HTCs Linux 3.1.10 source drop (doesn't make a big difference)
RC13 (20130202)
  • Merged missing cam pull request
  • Option to change the max frequency in settings (Developer Options -> CPU Frequency)
  • Improved frequency management - say goodbye audio dropouts!
RC12 (20130122)
  • More camera options (jpeg quality, burst mode, scenes) - thanks to seadersn
  • Option to enable the overflow button
  • New hardware button mapping profile: press = tasks / longpress = menu
RC11 (20130114)
  • Support for encrypted /data partition. (see this post)
  • Ability to limit the max CPU frequency (see this post)
  • Enhanced included Camera App (thanks to herrvorragend23)
  • Include SimToolkit
  • Option to change the Home + Menu longpress behaviour (Settings -> Display)
RC10 (20130104)
  • Support for big /data partition. This is experimental, see this post
  • Mount /data with '-o discard'
RC9 (20121229)
  • Added 'volume rocker' support (disabled by default -> settings -> sound)
  • Bluetooth Audio (A2DP) is now working
  • Stubborn BT devices should now be able to pair
RC8 (20121225)
  • Fixed WIFI Tethering
  • Changed halo background
RC7 (20121220) Doomsday edition
  • Bluetooth Tethering support (still a little bit flaky, try to re-enable bluetooth + tethering if the connection drops)
  • Changed quicksettings behaviour: Short press = toggle / Long press = open settings
  • Reboot + Screenshot options in Power-Off menu (thanks to lownoise2)
RC6 (20121219)
  • Support for Bluetooth file transfer and HID (Again: thanks to rogro82)
  • AUDIO AND INTERNET SHARING VIA BLUETOOTH ARE CURRENTLY NOT WORKING
RC5 (20121215)
  • Audio recording fixed (Send your thanks to rogro82)
  • Developer-Options enabled by default in Settings
  • Display internal + sdcard storage in Settings
  • Improved holo-background gardient
  • Switching from/to 2G-Data-Only works without reboot
  • 'Silent' GSM-Data drop is hopefully gone
RC4 (20121211)
  • Camera support Install this if the camera icon is missing in your app drawer
RC3 (20121209)
  • Paid applications can now be installed using Play Store
  • Unity engine based games work correctly
  • Hboot 1.3x support
RC2 (20121202)
  • Multitouch fixed
  • Based on Android 4.2.1 (December fixed)
  • HD-Videos (OMX) working

RC1 (20121126)
  • Include Email.apk
  • Fix google location service provider (google now / gmaps)


Download links (always flash boot.img!)
http://blinkenlights.ch/static/android/endeavoru_42/latest/ (Primary host in Germany)
http://android.eqmx.net/android/endeavoru_42/latest/ (Mirror in Sweden)
Gapps download
NEW http://goo.im/gapps/gapps-jb-20121212-signed.zip

IRC Channel
Join us at #tg-endeavoru on Freenode irc

FAQ

I can not upgrade my hboot to 1.3x, help!

You can still run RC13:
This was the last release using Linux 2.6 and will therefore work on older hboot versions. RC13 is stable enough for everyday-use.


What kernel should i use?

Use the stock kernel from boot.img - there is nothing wrong with it. Using a different boot.img or/and kernel will just break stuff.


Even more links!
https://github.com/adrian-bl-hox-jb/android
https://plus.google.com/115564237657785223556/posts
 
Last edited:

rogro82

Retired Senior Recognized Developer
May 1, 2008
862
447
plus.google.com
For people wondering:

Although its an AOSP build it does have multi-user support which originally is only available on tablets in AOSP ( users can be added in settings )
 

Attachments

  • device-2012-11-25-223510.png
    device-2012-11-25-223510.png
    140.9 KB · Views: 18,553
  • device-2012-11-25-230909.png
    device-2012-11-25-230909.png
    25.2 KB · Views: 17,556
Last edited:

Willieumm

Senior Member
Oct 4, 2010
1,542
125
Will try it as soon as links posted, thanks for your work! Can't wait for some of the important things like camera to work. :)
 

sibbor

Senior Member
Jul 28, 2008
663
330
sibbor.nu
Will have to give this one a shot. Looks very interesting, even though there's some major flaws. Official CM10 has never been stable on the HOX, so looking for alternatives. AOSP might be the solution, in the long run (not currently in that state ;)).

Good luck with the upcoming work, attempts, hacks, tweaks etc.!

EDIT:
1. You can add NFC to the list of working things. Just tested it with a tag.
2. The performance of the ROM seems very snappy and nice. Just because of it I had to take a few benchmark tests, and yeah, the ROM performs! https://docs.google.com/spreadsheet/ccc?key=0Api2mSgk7cfUdENKWWVqNnUyS013dnJpMGxNQXZxeEE (oops, wasn't made public at first)

Generally about Android 4.2 and its new quick settings (QS):
I wonder why Google doesn't allow us to reorder the grid (by long pressing on the items, much like on their launcher; folders). Would be great if one could add or remove buttons too. Personally I'd like to add GPS + NFC and remove 'Airplane mode'. When tapping on the items their respective activities is started. Convenient sometimes, but it makes QS pretty much useless... On/Off toggling would've been the preferred way I think. Much like how the Airplane mode button works... it doesn't even ask the user if the device should be put in airplane mode (which I think is pretty vital).
 
Last edited:

mattman83

Senior Member
Jan 19, 2011
2,982
1,104
Brisbane
Needed to rename rc0.boot_img to rc0boot.img (really any .img name would work) but otherwise booting fine straight over the top of latest CM10 nightlies. I'm no dev, but love being on the bleeding edge :p

M.
 
  • Like
Reactions: skhekare

MashineGun

Senior Member
Jan 10, 2010
142
54
booting, working fine, confirmed call, data, sms, multi users... will put my mirror up tonight or tomorrow
 

JDAapps

Senior Member
Jul 1, 2012
412
236
New York
Where do we find the Email app, for non-Gmail mail? I do see the Exchange apk, but no Email apk. Should we use the one from 4.1, or does 4.2 have a new mail client app? Thanks for the awesome work too by the way; so far this is actually impressively stable for a preview (known issues aside, and more testing to be done)!
 

rogro82

Retired Senior Recognized Developer
May 1, 2008
862
447
plus.google.com
Compiled the new Email app from source... I guess you can just push it to /system/app.

I have not been able to test it yet though, so i cant say if its 100% working
 

Attachments

  • Email.apk
    2.8 MB · Views: 55
Last edited:

rob9

Senior Member
Jun 23, 2011
113
64
First off, thanks for the rom - always great to try the newest version of android!

I found a bug with google now, it doesn't show me any cards relating to my location, it says that I need to turn on googles location services but they're already on.
 

pabx

Senior Member
Apr 5, 2011
598
1,801
Zurich
First off, thanks for the rom - always great to try the newest version of android!

I found a bug with google now, it doesn't show me any cards relating to my location, it says that I need to turn on googles location services but they're already on.

This is a known issue (see first post -> location services) and is already fixed in the git version.

We will probably release a new build that includes the fix today or tomorrow.
 

domsch1988

Senior Member
Mar 6, 2011
681
228
Köln
I have the feeling that the dpi is slightly off. On the lockscreen for example the widget area is bigger than the screen and The numberpad to enter the pin is cramped together. (I have no better way to explain it. Sorry)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 234
    BoAyu.png

    Banner by Sebianoti

    Me and rogro82 started to port Android 4.2 to the HTC One X


    Working
    • Wireless
    • Phone calls
    • GSM Data
    • Audio
    • Video Playback (including HD)
    • Camera (no photosphere - blame google)
    • GPS
    • NFC
    • Bluetooth
    • BT and Wireless tethering

    Not Working
    • USB tethering (?)

    Installation instructions
    • BACKUP YOUR DATA (using CWM)
    • Verify that your backup is complete - a backup of your sdcard may also be a good idea (see below)
    • Verify that you are running hboot 1.26 or newer (hboot 1.39 is recommended)
    • Download the ZIP and the boot.img (see Downloads)
    • Copy the .zip to your sdcard and reboot into fastboot
    • fastboot flash boot boot.img, then boot into recovery
    • WIPE your phone (this is not optional)
    • Install the .zip and reboot

    Upgrading
    You can always upgrade to a newer version without wiping any data, formatting system or wiping the cache.
    But keep in mind that you must always flash boot.img + re-flash gapps after upgrading

    Changelog

    RC20 (20130825)
    • Fixed the two Android 'master key' bugs
    • Kernel patch for CVE-2013-2094
    RC19 (20130317)
    RC18 (20130311)
    • Option to control button backlight depending on the screen brightness (Settings -> Display)
    • Software fix for pabx's broken headphone jack detecion: Added an option to forcefully route mediaplayer-output to the headphone jack. (Settings -> Audio)
    RC17 (20130301)
    • Use latest WIFI Firmware (improves reception)
    RC16 (20130216)
    • Added ro.adb.secure=1 to build.props. The phone will now only accept ADB connections from authenticated hosts. Note that you must upgrade your local ADB installation to the version included in the 4.2.2 SDK. Connecting with an pre-4.2.2 adb will not work
    • Fixed quicksettings: longpress = toggle, press = settings
    • Internal: Use CMs nicer audio-recording patch
    RC15 (20130213) Android 4.2.2
    • Upgraded to Android 4.2.2_r1
    • Silenced vibrate kernel driver + removed unneeded pm_qos request
    RC14 (20130208) Kernel 3.1.10
    • First release with Linux 3.1.10. Note that you MUST upgrade your hboot to 1.3x (1.2 versions may work - any feedback is appreciated, but any version < 1.2 will NOT work - your phone will freeze during deepsleep!)
    • Mounting USB-OTG devices on 4.2 is somewhat tricky as filesystems are not shared with 'parent' processes - using some userspace app like 'Nexus Photo Importer' is recommended
    • Switched to ondemand govenor as the old 'interactive' is broken in HTCs Linux 3.1.10 source drop (doesn't make a big difference)
    RC13 (20130202)
    • Merged missing cam pull request
    • Option to change the max frequency in settings (Developer Options -> CPU Frequency)
    • Improved frequency management - say goodbye audio dropouts!
    RC12 (20130122)
    • More camera options (jpeg quality, burst mode, scenes) - thanks to seadersn
    • Option to enable the overflow button
    • New hardware button mapping profile: press = tasks / longpress = menu
    RC11 (20130114)
    • Support for encrypted /data partition. (see this post)
    • Ability to limit the max CPU frequency (see this post)
    • Enhanced included Camera App (thanks to herrvorragend23)
    • Include SimToolkit
    • Option to change the Home + Menu longpress behaviour (Settings -> Display)
    RC10 (20130104)
    • Support for big /data partition. This is experimental, see this post
    • Mount /data with '-o discard'
    RC9 (20121229)
    • Added 'volume rocker' support (disabled by default -> settings -> sound)
    • Bluetooth Audio (A2DP) is now working
    • Stubborn BT devices should now be able to pair
    RC8 (20121225)
    • Fixed WIFI Tethering
    • Changed halo background
    RC7 (20121220) Doomsday edition
    • Bluetooth Tethering support (still a little bit flaky, try to re-enable bluetooth + tethering if the connection drops)
    • Changed quicksettings behaviour: Short press = toggle / Long press = open settings
    • Reboot + Screenshot options in Power-Off menu (thanks to lownoise2)
    RC6 (20121219)
    • Support for Bluetooth file transfer and HID (Again: thanks to rogro82)
    • AUDIO AND INTERNET SHARING VIA BLUETOOTH ARE CURRENTLY NOT WORKING
    RC5 (20121215)
    • Audio recording fixed (Send your thanks to rogro82)
    • Developer-Options enabled by default in Settings
    • Display internal + sdcard storage in Settings
    • Improved holo-background gardient
    • Switching from/to 2G-Data-Only works without reboot
    • 'Silent' GSM-Data drop is hopefully gone
    RC4 (20121211)
    • Camera support Install this if the camera icon is missing in your app drawer
    RC3 (20121209)
    • Paid applications can now be installed using Play Store
    • Unity engine based games work correctly
    • Hboot 1.3x support
    RC2 (20121202)
    • Multitouch fixed
    • Based on Android 4.2.1 (December fixed)
    • HD-Videos (OMX) working

    RC1 (20121126)
    • Include Email.apk
    • Fix google location service provider (google now / gmaps)


    Download links (always flash boot.img!)
    http://blinkenlights.ch/static/android/endeavoru_42/latest/ (Primary host in Germany)
    http://android.eqmx.net/android/endeavoru_42/latest/ (Mirror in Sweden)
    Gapps download
    NEW http://goo.im/gapps/gapps-jb-20121212-signed.zip

    IRC Channel
    Join us at #tg-endeavoru on Freenode irc

    FAQ

    I can not upgrade my hboot to 1.3x, help!

    You can still run RC13:
    This was the last release using Linux 2.6 and will therefore work on older hboot versions. RC13 is stable enough for everyday-use.


    What kernel should i use?

    Use the stock kernel from boot.img - there is nothing wrong with it. Using a different boot.img or/and kernel will just break stuff.


    Even more links!
    https://github.com/adrian-bl-hox-jb/android
    https://plus.google.com/115564237657785223556/posts
    40
    For people wondering:

    Although its an AOSP build it does have multi-user support which originally is only available on tablets in AOSP ( users can be added in settings )
    23
    Pab i have bluetooth working :) will have to track all my changes...



    22
    Camera

    Using this ROM for 2 weeks now. Love it, but like with all AOSP roms I'm not happy with the camera so I decided to actually help the community instead of the usual whining.

    I've attached a pimped Camera (which is included in the Gallery, therefore the complete Gallery2.apk has to be replaced) which includes this new features:

    -Included all native camera scene modes that our HOX Camera is capable of
    -HDR Quick Toggle (which is nothing else than background-hdr scene mode)
    -Added more exposure settings (max camera value is 12, min is -12, therefore +3 = 12, +2 = 8, +1 = 4, 0 = 0, -1 = -4, -2 = -8, -3 = -12)
    -Added 6MP wide picture size (3264x1840)
    21
    Pab we might wanna give WiFi tethering as a (early) Christmas present ;)

    to fix:

    in netd / SoftapController.cpp:

    just return 0 in
    int SoftapController::fwReloadSoftap(int argc, char *argv[])

    and use hostapd from android 4.1 ( i just copied the entire wpa_supplicant_8 folder from 4.1, but only copied hostapd after compiling ) as atleast wpa_driver_ap_params has changed and therefor hostapd_drv_set_ap(hapd, &params) in beacon.c fails.

    Have done some basic testing using phone + tablet and connection seems to be fine ( tested Open and WPA2 PSK ).