[ROM-AOSP] Unofficial CM10.1 (JB 4.2.2) [08/12 ICON DRAG FIX]

Search This thread

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

Make sure you have the Android SDK installed.


I'll post a new build here in a bit. So if you don't get it going, hopefully that will get you into Android where you can load up the sdcard.

Sent from my DROID RAZR HD using Tapatalk 2
 
  • Like
Reactions: Guitarman

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

Sorry for the delay in a new ROM. I have a busy Sat. and I'm having issues getting into the build box on VPN.

So hang tight, and I'll get something up a bit later this afternoon.

Sent from my DROID RAZR HD using Tapatalk 2
 

JuannTwo3

Senior Member
Mar 12, 2012
197
48
Sorry for the delay in a new ROM. I have a busy Sat. and I'm having issues getting into the build box on VPN.

So hang tight, and I'll get something up a bit later this afternoon.

Sent from my DROID RAZR HD using Tapatalk 2

Take your time. We've all waited quite a bit for freedom, some hours more shouldn't hurt ;) Thanks for all your work Hash!
 

Technogen

Senior Member
Jul 15, 2008
193
55
Can someone run AnTuTu and let us know how it does? I'm betting CM10.1 will run way faster.
 

FroyoShark

Senior Member
Sep 12, 2011
323
70
Minnesota
youtube.com
Did you do a full wipe? Another user PM'd me saying it booted no problem. Only issue I'm having is the wallpaper is not aligned correctly. Maybe something in the build.prop. I've set it to no wallpaper.

Factory reset, wiped Dalvic, wiped System. Doesn't work when I skip installing Gapps either. Also, I'm having a lot of issues with the bootloader, where I actually have to do all of the steps to set it up again after every 2 flashes or so. Maybe it's a hardware issue? This Kindle is brand new...
 

slacka-vt

Senior Member
Nov 17, 2009
371
130
Southern Vermont
Factory reset, wiped Dalvic, wiped System. Doesn't work when I skip installing Gapps either. Also, I'm having a lot of issues with the bootloader, where I actually have to do all of the steps to set it up again after every 2 flashes or so. Maybe it's a hardware issue? This Kindle is brand new...

After the original download booted to black screen, I restored boot.img, recover.img, and system.img back to factory (the files created in Step 1 of the Bootloader install process). After I compiled my build. I started at Step 3 (push the stack file) and went through the whole process from scratch. Maybe you want to try the same?
 

JuannTwo3

Senior Member
Mar 12, 2012
197
48
I was having the black screen issue as well with the original build. With the one that slacka provided all I had to do was factory reset, flash the ROM + gapps and BOOM! CM10.1 goodness
 

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
I missed a step in the Bootloader installation the first time I posted it, and added it later.

You need to disable the recovery re-flash that happens in the Amazon OS:
adb shell su -c "mount -o remount,rw ext4 /system"
adb shell su -c "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak"
adb shell su -c "mount -o remount,ro ext4 /system"
 
  • Like
Reactions: Guitarman

FroyoShark

Senior Member
Sep 12, 2011
323
70
Minnesota
youtube.com
After the original download booted to black screen, I restored boot.img, recover.img, and system.img back to factory (the files created in Step 1 of the Bootloader install process). After I compiled my build. I started at Step 3 (push the stack file) and went through the whole process from scratch. Maybe you want to try the same?

Turns out there was a separate folder called "0" in my internal storage, which actually had the old version of CM10.1 somehow, and TWRP was automatically going to the 0 folder instead of the root of the sd card, so I was actually installing the old version o_O
 

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
PLEASE make a full backup of the Amazon OS + Data in TWRP, you can restore this to go back to stock at any time without the hassle of fastbooting the original files.

And, a wipe of "System" is required when coming from Amazon OS. CM10.1 has a tendency to try and leave some original files in the installation to let gapps update correctly and can cause issues when swapping out the entire OS.

I have a new build uploading as a 2nd test. I was able to wipe my system down and install this last .zip. Hopefully, everyone has the same results.

New build is 157MB so be patient :) And double check the md5sum when you finish downloading.
http://goo.im/devs/Hashcode/jem/cm10.1
(20130202 build)

About 20 mins.

EDIT: It's up, 157MB mis-read the size before.
 
Last edited:
  • Like
Reactions: Guitarman

traxxx79

Member
Aug 7, 2008
25
9
I just installed slacka-vt build and it went through just fine. When I first booted without Gapps the wallpaper was fine horizontally and vertically. After the Gapps-installation the wallpaper did not fit anymore. The Play-Store has light problems with my device. Most Stuff is incompatible. Chrome, Maps, etc. Nevertheless my first feeling about CM10.1 is very good. Smooth as expected :)
 
Last edited:

slacka-vt

Senior Member
Nov 17, 2009
371
130
Southern Vermont
I fixed the wallpaper issue by changing the build.prop. Way at the bottom where it says:

Code:
ro.sf.lcd_density=254

The correct density should be 240

Code:
ro.sf.lcd_density=240

This is what the factory ROM has is set at it it fixed it for me. You'll need to reboot after changing it.

Yeah, a lot of apps say incompatible in the Play Store. This can probably also be fixed with a build.prop edit -just not sure which one :confused:

Is there any way to change it to the full tablet layout instead of the Nexus 7 layout, maybe by changing the DPI?

In other CM10.1 builds I've used, there has been a setting in System > User Interface to "Use System Bar" which is tablet UI. I'm sure this can be added to the build by a better man than I.
 
Last edited:
  • Like
Reactions: Slimepuppy

FroyoShark

Senior Member
Sep 12, 2011
323
70
Minnesota
youtube.com
I fixed the wallpaper issue by changing the build.prop. Way at the bottom where it says:

Code:
ro.sf.lcd_density=254

The correct density should be 240

Code:
ro.sf.lcd_density=240

This is what the factory ROM has is set at it it fixed it for me. You'll need to reboot after changing it.

Yeah, a lot of apps say incompatible in the Play Store. This can probably also be fixed with a build.prop edit -just not sure which one :confused:



In other CM10.1 builds I've used, there has been a setting in System > User Interface to "Use System Bar" which is tablet UI. I'm sure this can be added to the build by a better man than I.
I changed the fingerprint in build.prop to the Nexus 10's, but it didn't help.
Also, there's no "user interface" option in settings. Maybe it's changed in 4.2.1?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 107
    Unofficial CyanogenMod 10.1 for the Kindle Fire HD 8.9

    *** USE AT YOUR OWN RISK! WHILE I TRY MY BEST TO PROVIDE WORKING KERNELS/ROMS, I AM NOT RESPONSIBLE IF THIS SOFTWARE OR ANYTHING I'VE WORKED ON SUDDENLY FRIES YOUR DEVICE. ***


    BEFORE YOU BEGIN MAKE SURE YOU HAVE A 2ND-BOOTLOADER INSTALLED CORRECTLY AND CAN SEE THE BLUE LOGO DURING BOOTUP:
    http://xdaforums.com/showthread.php?t=2128175

    AUDIO: DO NOT ENABLE "LOCK SCREEN AUDIO" OR "TOUCH SOUNDS" IN SOUNDS MENU. THIS *CAN* BREAK AUDIO.

    CyanogenMod Changelog (DO NOT DOWNLOAD ANY .ZIP FILES -- FOR OFFICIAL DEVICES ONLY)
    http://changelog.bbqdroid.org/

    Download Information:
    [LATEST][08/12] BETA CM10.1 + 3.0.50+ KERNEL
    Mirror 1: http://goo.im/devs/Hashcode/jem/cm10.1/cm-10.1-20130812-UNOFFICIAL-jem.zip
    Mirror 2: d-h.st/xMG
    md5sum: 6a717e9b085909e6407cab486f585b54

    [07/26] BETA CM10.1 + 3.0.50+ KERNEL
    Mirror 1: http://goo.im/devs/Hashcode/jem/cm10.1/cm-10.1-20130726-UNOFFICIAL-jem.zip
    Mirror 2: d-h.st/4Uc
    md5sum: 41d6331a9492ddc2dd576c6cad71c8f5

    [07/17] ALPHA CM10.1 + 3.0.50+ KERNEL
    Mirror 1: http://goo.im/devs/Hashcode/jem/cm10.1/cm-10.1-20130717-UNOFFICIAL-jem.zip
    Mirror 2: http://d-h.st/XxG
    md5sum: 1a1204e8e74211213fd1414ebca80194

    [07/13] ALPHA CM10.1 + 3.0.50+ KERNEL
    http://goo.im/devs/Hashcode/jem/cm10.1/cm-10.1-20130713-UNOFFICIAL-jem.zip
    md5sum: 5050e8c31851162a117d87d17a1b6806

    Older builds can be found in the same folder on goo.im:
    http://goo.im/devs/Hashcode/jem/cm10.1/

    Download Google Apps:
    Http://goo.im/gapps
    (For Android 4.2.1/CM 10.1 use the top row gapps)

    PLEASE BE SURE TO WIPE SYSTEM & DATA/CACHE (FACTORY RESET) WHEN COMING FROM AMAZON STOCK SOFTWARE.
    (It's the "Wipe" button and then "System" and then "Factory Reset" button in TWRP -- this does NOT clear your sdcard space)

    Be aware that the "sdcard" space has changed slightly from ICS to JB4.2. You will find your stock amazon OS files in /data/media/ or "sdcard" on the Stock OS. But CM10.1 will create a sub directory "/data/media/0" and call that "sdcard". And in TWRP it will also use "data/media/0" as "sdcard". This has to do with multi-user settings. So when placing files on the "sdcard" be sure to check both locations before wondering why that file is missing.

    CHANGES:
    • [08/12] Includes a Trebuchet patch to fix the screen flip-flop when trying to drag an icon in landscape (by XDA user Wickets^)
    • [08/12] Headphone volume raised (set to 114)
    • [07/26] Fixed occasional drawables issue with background / etc reverting to HDPI graphics
    • [07/26] More Dalvik VM changes
    • [07/17] Dolby: [WIP] Initial work for Dolby support in CM10.1 -- Still troubleshooting audio effect pre-gain handling
    • [07/17] Audio: Fixed MIC initialization -- works perfectly now, everytime.
    • [07/17] Camera: cleaned up DCC file handling for a bit more "Amazon"-like performance.
    • [07/13] USB Vendor ID / Product ID's have been reset to match the Amazon OS / TWRP values. Should help keep Windows drivers from going bonkers.
    • [07/13] Some Audio issues have been resolved. It shouldn't stop when swapping apps, etc. Still low volume currently where Dolby decoder is used.
    • [07/13] CM refreshed which includes several well-known security exploit patches
    • [07/13] PVR/SGX driver updated to 1.9@2291151 fixing several games and Google Earth
    • [07/13] Enabled "dirty region" rendering which helps 2d rendering quite a bit.
    • [07/13] Fixed a Bluetooth issue: stuck in TRANSITION mode till it's enabled/disabled after a reboot. This was causing extra battery drain.
    • [07/13] Some tweaks to Android vm allocations. Still needs work, but less apps are being killed off on the boot.
    • [06/04] CM refresh for changes (no device updates)
    • [05/14] New android OS audio driver. MIC works but may need to be stopped / re-started once (WIP)
    • [05/11] Camera should be working again
    • [05/08] Fixed orientation for HDMI output (requires a /data wipe) -- sound is W.I.P.
    • [05/08] Fixed default landscape orientation (was backwards)
    • [05/08] Fixed power HAL to retain current max CPU freq (original code by twa_priv, patched by Hashcode)
    • [05/07] Raised headphone volume by 10%
    • [04/20] [Thanks to Javabugs] Bluetooth firmware is now renamed correctly so that it loads and should work
    • [04/05] Basic audio function is now working. This means volume adjustable speaker output and headset output. NO input works yet -- still WIP.
    • [04/01] Basic camera function now working, tho after video recording is stopped, camera will FC during thumbnail creation. Video is recorded successfully tho. Panorama crashed out entirely still WIP.
    • [02/25] Updates to CM10.1 (4.2.2_r1)
    • [02/01] First release

    FEATURES:
    • 3.0.50 kernel (up from a stock 3.0.21 kernel). This includes updates from Texas Instruments, Google and Kernel.org.
    • PowerVR Graphics Drivers: DDK 1.9@2291151 for Android (Jellybean compatible)
    • Updated bltsville libs to 2.2.2.0 (this is partial screen update code which enables smoother / faster screen draws)
    • Audio
    • Camera
    • Wifi
    • Bluetooth
    • Sensors
    • HWAcceleration
    • HD Codecs for YouTubeHD and Netflix
    • HDMI video out is now correct and work across several resolutions. YMMV


    DEVS
    BUILDING THIS ROM:

    First, read through Google's Android website about "how to setup a build environment":
    http://source.android.com/source/initializing.html

    Then you can setup the Kindle Fire Android projects by doing the following:
    (This manifest allows for building Kindle Fire 1st and 2nd gen as well)
    Code:
    mkdir android
    cd android
    # Use main repo for CyanogenMod 10.1
    repo init -u https://github.com/CyanogenMod/android -b cm-10.1
    # Then add the local_manifest.xml for the Kindle Fire
    curl -L -o .repo/local_manifest.xml -O -L https://raw.github.com/KFire-Android/android_local_manifest/cm-10.1/local_manifest.xml
    repo sync
    vendor/cm/get-prebuilts
    . build/envsetup.sh && brunch jem
    37
    So, I'm not really happy with this current build.

    Is it more flexible than the Amazon OS? Yes, of course. But is it really "better"? No. Absolutely not.

    1. I see tons of IOWAIT for no real reason and it ends up as lag everywhere. It's not the device. It's something in the kernel which is causing it. End result: the device doesn't feel snappy at all. :/ You go to unlock the screen and it sits for a good second or 2. Open an app.. it sits for a second or 2, etc. I'm guessing that there's some driver in the kernel which is hard looping or something.
    2. I hate the current sensor setup. It's all proprietary Amazon files and the gyroscope is backwards causing more issues. To fix it, I need to be able to compile my own sources for the sensors. Which means using open source IIO-based Invensense drivers which I found in the Nexus 10 kernel. So thats: backport them to 3.0 kernel or move the entire device over to 3.4 kernel and use them there. Either way, new sensor driver for the kernel and then I can use the IIO-based Invensense sensor source from AOSP (with a little re-work).
    3. Sound issues are still pretty big at the moment. Background audio clocking issues, odd audio buffer setup or more audio android layer debugging are all needed. And it'll probably be a good week or 2 of more dedicated debugging on the audio system to really root out the "whys" and "hows" of our current audio issues.
    4. Power driver is lacking a ton of features in my opinion. It does exactly what it's supposed to and nothing else. It detects a power source and turns on charging. We're missing the entire OTG implementation.
    5. Camera quality is currently: terrible. I know it's a very cheesy camera built for video chat basically, but it can be better.

    How to solve these issues in the best way possible? Still mulling over my options. The 3.4 kernel I'm working on for the 1st gen Kindle Fire is nearly done. So that's a viable option. But, there's a huge amount of back tracking and device setup before it even gets back to the current state. And if we do move to the 3.4 kernel: the camera is instantly broken until I can completely re-write the driver using V4L2 interface in Android -- so that becomes additional work in #5.

    All in all, I'm very frustrated at the amount of work that I'm putting into the Fire HD's and the amount of progress they're showing. :/

    So I'm venting. :p I'll post later on my any direction changes I'm taking.
    25
    Dude if you get the sound working on this, i will buy one of these. :p

    Oh it's my top priority. I work every night on it at least an hour or 2 debugging how stock is connecting to the audio codec in the kernel. And what commands its sending during the setup and anytime volume is adjusted in the stock OS.

    I'm using this information to reverse engineering a Jellybean audio userspace driver.

    Eventually, it'll all be a beautiful thing.
    23
    CURRENT KNOWN ISSUES:
    • When long pressing icons in landscape mode to move them, etc the screen will flip upside down for a moment and right itself. This causes the action to be aborted.
    • Rotation selection in games is hit and miss. Some work perfectly and some like to flip the device upside down. Still debugging what is causing this.
    • AUDIO: Any decoder which uses Dolby surround current has a lower volume than the rest of the system (Netflix, Google Movies, etc). It's a WIP.
    • AUDIO: Headset volume still may be lowish. Testing better ways of increasing volume w/o distortion. It's a WIP.
    • 3D Performance: Is only OK. Needs some troubleshooting and perhaps kernel cleanup. Work-In-Progress.
    • Sensors: Testing various sensors, gyro seems 90 degrees off, etc.
    • I don't have an LTE version so this is not enabled in current builds.

    CURRENT KNOWN APP/GAME ISSUES:
    • Need For Speed Most Wanted: Crash
    • EZPDFReader: PDF close = Crash
    22
    I'll put out a new build soon with some minor updates:

    1. (CM updates obviously)

    2. I rebuilt the current KFireHD 8.9 w/o mobile data support and it seems to be much better on the battery (I know there's LTE users out there, and we'll setup a jem-wlan device just for you at some point). I was seeing large amounts of battery usage by telephony type stuff (probably looping).

    3. I AM still working on audio fixes, but I decided to take a quick gander at the camera and see if it was an easy fix. Right now it's about 80% from working, so I'll probably do the new build once that's good.

    4. And I can probably get HDMI going if I put a little more effort into it. But it seems like I should be spending 100% of my Kindle time on the audio issues... we'll see.