Hello everyone.
I've been working on the last few days on porting CM10 (or any AOSP rom really) to our device. I think I got the basics working for now so I'd like to share that with all of you.
1. download the attached file.
2. reboot into twrp
3. factory reset
4. wipe "system"
4. flash the file
5. flash gapps (find it in google).
6. reboot
What's been tested:
-Radio: phone calls work and 4G LTE speeds are intact.
-Audio: Bluetooth audio, A2DP, speaker, headphones and in call audio all work.
-GPS: no problemo.
-Camera: works without a problem if you use a third party app like Pudding Camera, Zoom FX.
What else?
Known issues:
- The stylus doesn't work. Need to investigate.
- Radio crashes every now and then.
- Audio in phone calls requires an initiation phase: make 2 phone calls to any number when you boot up to get audio functional on the 3rd call.
This ROM is tested and should work fine on the following devices:
1. AT&T Note 2
2. T-mobile Note 2
3. International LTE Note 2
Dev talk: The device tree was forked from N7100. Most of the board share the same peripherals so it was a matter of getting the correct defconfig and the correct initramfs. I'm uploading the stuff to my github now so you guys can have a look and perhaps fix the remaining bugs Hopefully this will facilitate getting official support by CM10.
Download link:
initial release: http://www.mediafire.com/?n4occ5rwv2nra7p
Dec 08 update: http://www.mediafire.com/?h1h4658y5555k58 (note. this update is compressed using 7z. Use 7-zip to decompress the archive first and then flash the resulting zip file in TWRP)
Dec 13 update: http://www.mediafire.com/?a6hl8qlv5v261q1
Dec 26 update: http://www.mediafire.com/?lubkf4c7c4h4lzc
Jan 13 update: http://www.mediafire.com/?vafgo52b353pep9 Laggy UI? flash this kernel after flashing this rom
Sources:
you'll need to get my sources to build this copy yourself:
1. vendor blobs. Yes I was nice and added the necessary binaries here. You don't need to adb pull em. Please also note that I did some changes to the smdk4412-common directory as well.
2. smdk4412-common device tree changes.
3. The device tree.
4. RILJ implementation
1. goes to ./vendor/samsung/
2. goes to ./device/samsung/smdk4412-common
3. goes to ./device/samsung/i317
4. apply the patch manually to frameworks/base
To compile, after sourcing the envsetup.sh file: "breakfast i317 & make"
Awesome! Currently downloading it, and will report back with my results.
SMS: Works
Calling: Connects, but no audio
Wifi: Works
4G: Works
GPS: Having a few problems...
Problems:
-AOSP keyboard crashes on boot and won't show up at all. Seems to be the only problem so far.
-Phone randomly froze once while opening the notification panel for around 50 seconds. (trebuchet FC afterwards)
-Unable to access Play store (Server Error messages) -- Flashing an older version of GApps fixed this (October version)
Going to try an earlier version of Gapps. I used the newest one.
To the guys trying to compile the sources with their own custom vendor/device tree, did you run into an issue with the kernel compiling with an error due to not finding firmware/SlimISP_ZK.bin ? The kernel compiles just fine when you cd to that directory and run make but it refuses to do it correctly with a full CM make.
If you guys figured it out , lemme know ! it's the last step I need before publishing my code. That part of the kernel needs to compile correctly otherwise the camera just FCs. I tried changing the toolchain from 4.6 to 4.4.3 but that threw some other errors.
jetrii said:
Awesome! Currently downloading it, and will report back with my results.
SMS: Works
Calling: Works
Wifi: Works
4G: Works
Problems:
-AOSP keyboard crashes on boot and won't show up at all. Seems to be the only problem so far. Could be from the GApps package that I flashed.
-Phone randomly froze while opening the notification panel for around 50 seconds. (trebuchet FC afterwards)
Click to expand...
Click to collapse
awesome. are you with t-mo btw? are you using the same exact device (i317) ?
madmack said:
To the guys trying to compile the sources with their own custom vendor/device tree, did you run into an issue with the kernel compiling with an error due to not finding firmware/SlimISP_ZK.bin ? The kernel compiles just fine when you cd to that directory and run make but it refuses to do it correctly with a full CM make.
If you guys figured it out , lemme know ! it's the last step I need before publishing my code. That part of the kernel needs to compile correctly otherwise the camera just FCs. I tried changing the toolchain from 4.6 to 4.4.3 but that threw some other errors.
awesome. are you with t-mo btw? are you using the same exact device (i317) ?
Click to expand...
Click to collapse
I am on AT&T with the same device. I should probably update my carrier
EDIT: Flashed an older version of Gapps (October 2012) and the play store now works!
madmack said:
To the guys trying to compile the sources with their own custom vendor/device tree, did you run into an issue with the kernel compiling with an error due to not finding firmware/SlimISP_ZK.bin ? The kernel compiles just fine when you cd to that directory and run make but it refuses to do it correctly with a full CM make.
If you guys figured it out , lemme know ! it's the last step I need before publishing my code. That part of the kernel needs to compile correctly otherwise the camera just FCs. I tried changing the toolchain from 4.6 to 4.4.3 but that threw some other errors.
awesome. are you with t-mo btw? are you using the same exact device (i317) ?
Click to expand...
Click to collapse
Yes i did bro. You needed to edit the makefil in the kernel's firmware directory. I recommend that you take a look at the stock Makefile for the stock Kernel to see the difference. The SMDK4412 kernel makes certain assumptions about child devices that it shouldn't.
Sent from my SGH-T889 using xda app-developers app
DarthPiggie said:
Yes i did bro. You needed to edit the makefil in the kernel's firmware directory.
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Can you please show me your edits?
Flashed on my tmo note2 and our modem . And it worked data, calls didnt check messages I must have had a bad gapps cuz it wasnt playing nice awesome work
Like above the keyboard wasnt working.. edit: dieu about posting about another device in this thread . Just excited
Sent from my SGH-T889 using xda premium
I can also confirm that the AOSP keyboard crashes and the home button doesn't work.
GPS doesn't seem to be working. According to GPS test, it is able to see a few stateliness, and occasionally connects to them, but it's unable to provide a location in Google Maps.
i'm not having any issues with the keyboard.. hmm
people with issues, make sure you the file isn't corrupted or anything
the md5sum is: 6d4426dc85110ff7a2abb6994e1fc53f
madmack said:
Can you please show me your edits?
Click to expand...
Click to collapse
Towards the beggining of firmware/Makefile:
Code:
ifdef CONFIG_MACH_T0
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZK.bin \
SlimISP_GK.bin
else
ifdef CONFIG_MACH_BAFFIN
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZK.bin \
SlimISP_GK.bin
else
ifdef CONFIG_MACH_GRANDE
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_GJ.bin
else
ifdef CONFIG_MACH_IRON
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_GJ.bin
else
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZD.bin \
SlimISP_GD.bin
endif
endif
endif
endif
Just comment that out. It's hacky, but last I checked, our devices did not need those binaries. They weren't in there to begin with.
jetrii said:
GPS doesn't seem to be working. According to GPS test, it is able to see a few stateliness, and occasionally connects to them, but it's unable to provide a location in Google Maps.
Click to expand...
Click to collapse
Cm had a setting for which gps to use ie: internal bluetooth ect.... check that I knew that but over liked many times edit: noob mistake didn't read the whole post b4 comment my bad
Sent from my SGH-T889 using xda premium
madmack said:
i'm not having any issues with the keyboard.. hmm
people with issues, make sure you the file isn't corrupted or anything
the md5sum is: 6d4426dc85110ff7a2abb6994e1fc53f
Click to expand...
Click to collapse
MD5 checks out fine. Does your GPS work? No luck with mine.
DarthPiggie said:
Towards the beggining of firmware/Makefile:
Code:
ifdef CONFIG_MACH_T0
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZK.bin \
SlimISP_GK.bin
else
ifdef CONFIG_MACH_BAFFIN
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZK.bin \
SlimISP_GK.bin
else
ifdef CONFIG_MACH_GRANDE
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_GJ.bin
else
ifdef CONFIG_MACH_IRON
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_GJ.bin
else
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZD.bin \
SlimISP_GD.bin
endif
endif
endif
endif
Just comment that out. It's hacky, but last I checked, our devices did not need those binaries. They weren't in there to begin with.
Click to expand...
Click to collapse
I tried that you see but the Camera FCs. These binaries are necessary. Do you actually have a functional camera?
It's really strange because if you just go to kernel/samsung/smdk4112 and make defconfig & make. You won't run into that issue. Seems like it's a path setup failure somewhere.
Calling connects but i cant hear anything from the other line, they can not hear me ether.
Also radio seems to keep crash lol.
jetrii said:
MD5 checks out fine. Does your GPS work? No luck with mine.
Click to expand...
Click to collapse
it works fine here. it is able to triangulate me in gps status and in maps.
the daemon spells out a crap ton of info to logcat too though while I'm locked.
In addendum, once we get a nice proper defconfig for the kernel we won't have to worry about such edits.
cmenard look at the defconfig:
Code:
#
# EXYNOS4 Machines
#
CONFIG_TARGET_LOCALE_USA=y
CONFIG_MACH_T0_USA_TMO=y
CONFIG_MACH_MIDAS=y
CONFIG_MACH_T0=y
CONFIG_T0_04_BD=y
CONFIG_EXYNOS_SOUND_PLATFORM_DATA=y
CONFIG_SAMSUNG_ANALOG_UART_SWITCH=1
That is what I have in mine. I borrowed that from the stock kernel. I don't get the build issues, however at runtime something is still trying to load that binary. At least that's what I see in the logcat.
---------- Post added at 06:03 PM ---------- Previous post was at 06:02 PM ----------
madmack said:
I tried that you see but the Camera FCs. These binaries are necessary. Do you actually have a functional camera?
It's really strange because if you just go to kernel/samsung/smdk4112 and make defconfig & make. You won't run into that issue. Seems like it's a path setup failure somewhere.
Click to expand...
Click to collapse
Post the exact error here so I can help. I had the same issues too.
jug6ernaut said:
Calling connects but i cant hear anything from the other line, they can not hear me ether.
Click to expand...
Click to collapse
Second this. I called my T-Mobile line, and although it's able to connect, there is no audio.
madmack said:
I tried that you see but the Camera FCs. These binaries are necessary. Do you actually have a functional camera?
It's really strange because if you just go to kernel/samsung/smdk4112 and make defconfig & make. You won't run into that issue. Seems like it's a path setup failure somewhere.
Click to expand...
Click to collapse
If these binaries are necessary, then why aren't they present in the stock ROM? I can't figure that part out, but perhaps you're correct.
EDIT:
You're right! They are on phone. They are just in strange place: /data/cfw
I am not sure why they are not in /system/vendor/firmware like the others but that's what it is. That binary will load the camera.
---------- Post added at 06:11 PM ---------- Previous post was at 06:05 PM ----------
We'll have to edit the proprietary-files.sh script.
Sent from my SGH-T889 using xda app-developers app
Related
Hey folks,
This is a completely new build, with all the new changes baked in. We wanted to do a semi-official test release to collect bugs and hopefully do a formal official release with everything settled. The main pain point is the CSV files (see pre-install prep).
So a brief overview:
New acoustic routing code baked in. Should fix most if not all audio routing problems, and will provide more debugging if stuff does go wrong. Also allows for more granular tweaking, see the CSV files.
GPS fixes for GB - GPS not only works in GB now, but it doesn't kill sleep! I was able to use GPS, get a solid lock, and put the device to sleep no problem.
BT should work & well with the new acoustic code. Post results.
RHOD users now have a choice of kernels. .35+ all have the new acoustic - so .35, .39, 3.0 and 3.1 are all fair game now... This is bundled with .27!!
Keep in mind, autobuild .27 kernels will produce no audio in this build... Obviously the bundled kernel will work, and the absolute newest .27 autobuild kernel does work now - Feb.27 2012 or newer.
rootfs tweaks - first, it will detect which kernel you're on (.27 or .35+) and automatically apply the correct firmware. Second, is it will always copy/extract the modules... failures there were getting annoying, and this is surefire if brute-force...
Few Easter egg apk's...
Probably a lot I'm forgetting, this might change
Pre-Install Prep REQUIRED!!!
This step is crucial, and I forgot all about it! You must copy all of the *.CSV file from your WinMo ROM - these are in the \Windows\ directory. There's a very easy way to do this. It involves the Total Commander app for WinMo (Direct Link for the perpetually lazy...) (included in EnergyROM and others probably).
Now you're in Total Commander looking at your \Windows\ directory. Whew... lots of files. Fear not! Hit the "CTRL" button, then the green "Plus" button. This opens the Select/Unselect files dialog. Put in *.csv, press "select" and voila. All CSV files are selected. Now - File -> Copy/Move -> I want you to copy these (should be 10) files to the ROOT of your SD card. No folders!!! This is hardset right now, until we get it all implemented into the build properly. Thanks!
Install
Assuming you've done the pre-install prep; this is installed just like the other XDAndroid builds - grab your startup.txt (don't forget rel_path= if you don't have it at the root of the SD!), ts-calibration and boot!
Download
Caveat List
CDMA users might get a crash in phone.apk and no service on boot. If waiting doesn't resolve the issue, then reboot. Should come up fine...
BT might still be flaky
The CSV files from my RHOD400 are attached for the lazy. I'd like to gather CSV's from each RHOD, I'm curious if any ROM devs have changed them out either... This could get interesting. If you folks don't mind, post up your CSV's, point out differences with mine, etc... We're trying to figure out how to unify these, if possible! Thanks!
Please post back any issues, enjoy!
GBX0C Changelog
Camcorder: Now works (tested on rhodium).
Acoustic: Bug-fix : correct random loss of dual(rear)-mic.
MMS: Bug-fix: Slides with zero duration on Sprint.
Gps: Bug-fix: Init/de-init sequence fix (correct gps not starting up after being unchecked in Settings).
Gps: Bug-fix: End gps session with a correct rpc call (relevant to amss6125 devices).
Gps: Bug-fix: Don't send delayed position requests after session has ended (possibly relevant to Navigation issues).
Gps: New feature: Xtra (aGPS) -> verified to work on rhodium/cdma raph.
X1 specific: Screen rotation patch.
Added tytung's GPS injector app to AndroidApps\Other as well as updating/cleaning up some apps in AndroidApps.
Modified rootfs for newest apsta firmware & wifi firmware - wifi tethering now works flawlessly in the newest kernels! .27 is still bundled for the record...
Just to get people going on some of the newer kernels.
2.6.35 is currently auto-built at:
https://code.google.com/p/zimages/downloads/list
Emwe has been maintaining this tree, and he is most qualified to speak about it, but pretty much everything is functional barring camera.
Head over to this testing thread for more information on 2.6.39/3.0/3.1 kernels for Rhodium.
arrrghhh said:
Pre-Install Prep REQUIRED!!!
This step is crucial, and I forgot all about it! You must copy all of the *.CSV file from your WinMo ROM - these are in the \Windows\ directory. There's a very easy way to do this. It involves the Total Commander app for WinMo (included in EnergyROM and others probably).
Now you're in Total Commander looking at your \Windows\ directory. Whew... lots of files. Fear not! Hit the "CTRL" button, then the green "Plus" button. This opens the Select/Unselect files dialog. Put in *.csv, press "select" and voila. All CSV files are selected. Now - File -> Copy/Move -> I want you to copy these (should be 10) files to the ROOT of your SD card. No folders!!! This is hardset right now, until we get it all implemented into the build properly. Thanks!
Download
Click to expand...
Click to collapse
You probably saw this problem coming but I have just the stock windows rom, how would i go about doing this? (or do i have to go and find each and every CSV file )
I googled and downloaded total commander on my laptop, and i got it to show my phone, but it only shows up with my SD card stuff, not my phone itself (unless thats whats supposed to happen )
Will keep trying! -determined-
A cool username said:
You probably saw this problem coming but I have just the stock windows rom, how would i go about doing this? (or do i have to go and find each and every CSV file )
I googled and downloaded total commander on my laptop, and i got it to show my phone, but it only shows up with my SD card stuff, not my phone itself (unless thats whats supposed to happen )
Will keep trying! -determined-
Click to expand...
Click to collapse
Sigh, are you freakin serious? I even link to Total Commander's website in my instructions.... Not sure how much easier I could've made it.
I also just attached the CSV's for the lazy... .
It does say TESTING in the title, no? Yea. It does..
Hehehe I know, I know, i guess i just don't have very much knowledge with this kinda stuff (obviously) Thanks!
A cool username said:
Hehehe I know, I know, i guess i just don't have very much knowledge with this kinda stuff (obviously) Thanks!
Click to expand...
Click to collapse
Testing/development threads usually mean "please pitch in and help test if you can. If not, please wait until the final stable release".
Make sense?
Okay, i'll be glad to help test it if someone could post the CSV files for a rhod300 (if its not too much trouble). If not, I will wait for the stable release. Thanks arrrghhh!
Yes, makes sense
Installed the rom but i've got a problem with the fact that the screen dissapaers after about 5 seconds, so i can't even put in my pin.
also i'll put in the csv files from my rhodium100.
Edit: Works good on second boot, had to change the calibration file and it's works good and fast. Only thing i have is that i now have got 919 contacts instead of the (normal) 135.
A lot of text messages for tonight
Edit 2:when i make a phone call i get a black screen and the phone crashes after that.
Camera works when you don't move a lot, otherwise it's blocked.
bleutooth doesn't work for me it connects to my parrot but i can't make a phone call.
Schumi_wk said:
Edit 2:when i make a phone call i get a black screen and the phone crashes after that.
Camera works when you don't move a lot, otherwise it's blocked.
bleutooth doesn't work for me it connects to my parrot but i can't make a phone call.
Click to expand...
Click to collapse
Sounds like a proximity sensor issue - not sure if some of the GSM rhod proximity related adjustments made it into the acoustic .27 kernel. You should try one of the newer kernels (not sure what's the status with .35 and GSM-proximity, but on 39+ I expect you won't have this issue).
This GB build, and these new kernels are kexec enabled. Meaning if you are on .35 or newer, and would like to interchange the kernel on-the-go, without re-booting to WinMo you can do the following:
1. While in Android, copy the new kernel and modules to the same location (over-writing the zImage) as your current kernel (adb push).
2. Go to the shutdown menu in GB, and select "Kexec".
3. Phone will reboot within Android, using the new kernel.
Again, this feature only works with the new kernels.
---------- Post added at 06:20 PM ---------- Previous post was at 05:38 PM ----------
Schumi_wk said:
Edit 2:when i make a phone call i get a black screen and the phone crashes after that.
Click to expand...
Click to collapse
Let me know if you are willing to test a prox support for rhod 100. I'll pm you a kernel pack.
Just tried the .39 kernel and bluetooth didn't work with that one. The phone did work with this one.
Than did the 3.0 kernel and bluetooth works but there i don't have wifi.
The 3.1 kernel doesn't load it stops at
3.711395 mmcblk0:mmc1:1234 SA0BG 7.42gb
3.728118 mmcblk0: p1
Than did the .35 kernel and bluetooth worked but no wifi.
No more testing for me today, i'm getting ready for the last hours of 2011.
For all of you enjoy the last moments of 2011 and start 2012 with a lot of fun!!
Schumi_wk said:
Just tried the .39 kernel and bluetooth didn't work with that one. Than did the 3.0 kernel and bluetooth works but there i don't have wifi. The 3.1 kernel doesn't load it stops at 3.711395 mmcblk0:mmc1:1234 SA0BG 7.42gb
3.728118 mmcblk0: p1
Than did the .35 kernel and bluetooth worked but no wifi.
No more testing for me today, i'm getting ready for the last hours of 2011.
For all of you enjoy the last moments of 2011 and start 2012 with a lot of fun!!
Click to expand...
Click to collapse
You must understand that BT is only functional in 3.0 and .35 (well, and .27). I don't know about the state of wifi in any of 'em... Should work in .39, I thought it worked in .35 as well. Haven't booted .35 in quite some time myself. Logs are really going to be necessary to triage any of your problems tho. Thanks, enjoy New Years.
arrrghhh said:
Caveat List
The CSV files from my RHOD400 are attached for the lazy. I'd like to gather CSV's from each RHOD, I'm curious if any ROM devs have changed them out either... This could get interesting. If you folks don't mind, post up your CSV's, point out differences with mine, etc... We're trying to figure out how to unify these, if possible! Thanks!
Please post back any issues, enjoy!
Click to expand...
Click to collapse
Here are my .csv files for the Tilt2 (Rhod300). Have not compared to the RHOD400 yet.
Here's my CSV files from my RHOD500
BTW, I can't use the Wi-Fi
I'm using the default kernel and settings that came in the bundle...I will try using a new data.img
Logcat says: "E/WifiService< 1328>: Failed to load Wi-Fi driver."
nickleby said:
Here's my CSV files from my RHOD500
BTW, I can't use the Wi-Fi
I'm using the default kernel and settings that came in the bundle...I will try using a new data.img
Logcat says: "E/WifiService< 1328>: Failed to load Wi-Fi driver."
Click to expand...
Click to collapse
You didn't start on a new data.img...?
This makes me think the modules didn't copy, but I force them to every time. Perhaps I should rm them all first... bleh.
You're not mixing and matching anything are you...?
arrrghhh said:
You didn't start on a new data.img...?
This makes me think the modules didn't copy, but I force them to every time. Perhaps I should rm them all first... bleh.
You're not mixing and matching anything are you...?
Click to expand...
Click to collapse
I'm using a new data.img, but the wifi still not work...I'm using the rootfs, zimage, kernel, initrd, startup.txt and system.ext2 that came in the bundle, I just added my ts-calibration
nickleby said:
I'm using a new data.img, but the wifi still not work...I'm using the rootfs, zimage, kernel, initrd, startup.txt and system.ext2 that came in the bundle, I just added my ts-calibration
Click to expand...
Click to collapse
Hrm. Can you pull some logs? I tested wifi every which way and it was always working. I did make some rootfs tweaks, so I guess it's possible it's using the wrong firmware...?
Someone had a wifi issue, rebooted and it went away. I hate wifi .
Yay! Merry Christmas and Happy New Year guys. Can't wait to try this and get back on .39. And sort-of hot-swapping kernels? Sweet.
arrrghhh said:
Hrm. Can you pull some logs? I tested wifi every which way and it was always working. I did make some rootfs tweaks, so I guess it's possible it's using the wrong firmware...?
Someone had a wifi issue, rebooted and it went away. I hate wifi .
Click to expand...
Click to collapse
I rebooted the phone, but it doesn't work...Here's a logcat, if you need another type of logs, please tell me...
nickleby said:
I rebooted the phone, but it doesn't work...Here's a logcat, if you need another type of logs, please tell me...
Click to expand...
Click to collapse
I just see a lot of this
E/WifiService( 1320): Failed to load Wi-Fi driver.
So uh... I think that indicates a modules mismatch? rm -rf /lib/modules and rebootski. I guess I need to make that change in init... copying and extracting every time doesn't work.
To compile any of the KFire-Android roms please see the instructions in our build wiki.
Device History / Commit Log
This is a mostly stock cm7 build that I try to keep relatively updated for those who still want to use Gingerbread:
Changes from CM7 Stock:
Removed ROM Manager.
Removed CM Stats & Update Notifier.
Added GooManager and Goo.im compatible auto-updater script for incremental updates.
There may be some other differences I'm not remembering honestly it's been awhile since I updated the code.
Assert standard disclaimer.
Click to expand...
Click to collapse
Download the latest package from Goo.im either @ http://goo.im/devs/IngCr3at1on/Otter/cm7stockish
or
via GooManager itself under Browse Compatible Roms > IngCr3at1on.
(the md5sums are listed on the downloads page, if you are downloading via GooManager it checks the md5sums for you).
Make a backup in recovery.
If new to cm7: wipe data (factory reset) and system (found under mounts and storage) otherwise wipe cache (dalvik cache is on the cache so this is enough).
Install zip from sd card
Optional:
Download and install gapps (included optionally in GooManager).
Extra information:
It is highly recommended that you use an OpenRecoveryScript compatible recovery to make full use of GooManager (Cannibal Open Touch Recovery {see second post} or TWRP).
If you are coming from stock you will need to move all your books from /sdcard/Books/ to sdcard/kindle/ (please note some of these may need to be redownloaded).
There is some confusion regarding the entries "Phone Idle" and "Cell Standby" in the battery/usage stats. This is referring to the device idle and standby, it could just as easily say "Tablet Idle" and "Device Standby" but it wasn't considered in the original creation (this can be resolved w/ an overlay most likely but I have not researched it). Your device battery is not wasting away to some mysterious phone/cell service so sleep easy.
By default the lockscreen is disabled; to enable it simply go to 'settings' > 'cyanogenmod settings' > 'tablet tweaks' > uncheck disable lockscreen.
For some unknown reason (to me at least) the market is not properly loading after flashing gapps; to make it load go into 'settings' > 'accounts and sync' > add your google account. The market should appear after that.
You will likely want to install an app to supplement a back button; for this there are button savior and another (allows gestures) which I can't remember currently (someone post the name and I will update this lol).
I would also recommend VolumeControl for supplemented sound controls.
Credits and Thanks
JackpotClavin for origin concept build.
Whistlestop for the initial repos.
Sitic/Nind for his work on CM9 (some of which has helped me figure out how to change stuff for us).
Pkt_Lnt providing fixes.
SkimpKilla for compiling this into something people can flash (even if it is a bit modified )(no longer maintained).
Takenover83; a custom backup file is the weirdest concept ever but people seem to like it so have at it (no longer maintained).
Hashcode for awesome work on CM9/10
The CyanogenMod and AOSP teams
DooMLoRD (Team UtterChaos) for the CWM Kindle recovery beta and ramdisk reboot scripts. Original discussion thread and source can be found @ [Recovery] Custom CWM-Based Touch Recovery...
Napstar (Team UtterChaos) for his awesome, yet surprisingly simply touch screen recovery source. Original discussion thread and source can be found @ [Sources] CWM Based Recovery On-Screen Touch...
Drew Walton (Team Hydro & Project Open Cannibal) for helping me create Cannibal Open Touch Recovery and providing all around awesome support in general.
Twa_priv for helping to resolve build errors in early builds.
mughalgxt for bravely testing recent builds until I corrected what I borked.
The XDA Community
Whoever else I left out.
PayPal Donate Fund
Thanks to Joshua K. for donating (you just bought me a factory cable; luckily it booted my device).
Thanks to Alexander K. and Ivan K. for also donating.
mine
I've released the recovery under a new name; out of respect to Team Hydro and the original creator of the Dooderbutt image the release is at Cannibal Open Touch, the binary is also available directly on Goo Manager under 'dev/IngCr3at1on/Otter/CannibalOpenTouch/' or direct @ Goo.im (we will be creating a XDA thread for the next release).
-----
A word about kernels: to my extreme annoyment I have yet to get the wireless modules for the kernel to compile on my machine (currently I have given up on this effort, a single module is not worth the headaches) to that end the original JackpotClavin kernel is still included in the source (I do not have source to this and I believe it is the cause of at least some of the issues when running this rom) for the time being please flash an alternate kernel after installing the rom. I would eventually like to replace this kernel with a non-overclocked performance kernel (for OC you will have to install it separate). If someone has a kernel which they would like to see added to the source (this includes Hashcode or IntersectRaven) please fork my device repo and open a pull request with the replacement zImage and modules (include a link to source in your pull request please) I will test it and barring errors merge it.
Is there anything new?
I appreciate this. thanks.with it being source, u should leave it as is imo, kernals are out there and usually get cooked into custom roms, which is what I've been interested in learnong lately. so again, thanks
Sent from my HTC Glacier using xda premium
smirkis said:
I appreciate this. thanks.with it being source, u should leave it as is imo, kernals are out there and usually get cooked into custom roms, which is what I've been interested in learnong lately. so again, thanks
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
I agree that most custom roms will have custom kernels and that's part of why I don't want to include an OC kernel; as it is the stock kernel that's included has some issues though and I'd like to replace it with something more stable (ideally a slightly optimized non-OC stock) similar to Hashcodes kernel. I have tried compiling Hashcodes kernel as a replacement (intent on making some small tweaks if I did) but as previous mentioned I keep hitting walls with the wifi module, it's very annoying.
Sblood86 said:
I agree that most custom roms will have custom kernels and that's part of why I don't want to include an OC kernel; as it is the stock kernel that's included has some issues though and I'd like to replace it with something more stable (ideally a slightly optimized non-OC stock) similar to Hashcodes kernel. I have tried compiling Hashcodes kernel as a replacement (intent on making some small tweaks if I did) but as previous mentioned I keep hitting walls with the wifi module, it's very annoying.
Click to expand...
Click to collapse
hmm, I do suggest looking at intersects source maybe? before he updated with oc, his kernal was optimized nicely without oc.
Sent from my HTC Glacier using xda premium
smirkis said:
hmm, I do suggest looking at intersects source maybe? before he updated with oc, his kernal was optimized nicely without oc.
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
Aye same issue though sadly; wall with wifi module (I suppose I could build the kernel than pull the wifi module from someone elses but that feels like cheating lol). At this point I'm so annoyed with the wifi module though compiling a kernel is one of the last things on my list, this is why I have requested that someone else do one and add it via pull request.
On that note pull requests on any of my repos are always welcome (anything to fix my half baked swiss cheese hackings)
after I curl repo, I get the info showing it was created. I than chmod it, than attempt to repo init and I get repo not installed. but when I check my files, its there. but when I call repo init it keeps saying file doesn't exist. its my first time really building in ubuntu, sorry
Sent from my HTC Glacier using xda premium
smirkis said:
after I curl repo, I get the info showing it was created. I than chmod it, than attempt to repo init and I get repo not installed. but when I check my files, its there. but when I call repo init it keeps saying file doesn't exist. its my first time really building in ubuntu, sorry
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
Could try. '. repo' personally I've never had Ubuntu require this for the repo command but most Linux commands do require the dot. If it works I'll update the OP and readme that info was in the old readme but for some reason I removed it.
Sblood86 said:
Aye same issue though sadly; wall with wifi module (I suppose I could build the kernel than pull the wifi module from someone elses but that feels like cheating lol). At this point I'm so annoyed with the wifi module though compiling a kernel is one of the last things on my list, this is why I have requested that someone else do one and add it via pull request.
On that note pull requests on any of my repos are always welcome (anything to fix my half baked swiss cheese hackings)
Click to expand...
Click to collapse
when i run .repo i get .repo not found.
so i try ./repo and i repo not installed, run repo init to install it here...
so i try ./repo init and i get this error msg lol.
"[email protected]:~/cm7$ ./repo init -u git://github.com/Incr3at1on/platform_manifest.git -b gingerbread
Traceback (most recent call last):
File "./repo", line 690, in <module>
main(sys.argv[1:])
File "./repo", line 657, in main
_Init(args)
File "./repo", line 189, in _Init
_CheckGitVersion()
File "./repo", line 214, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory"
no matter if i delete the repo file, redo curl, re chmod it, any time i type in repo or .repo or ./repo i get errors. i don't wanna jus chop up your zip lol, thats cheating. i wanna compile from your modified source, and than add changes
smirkis said:
when i run .repo i get .repo not found.
so i try ./repo and i repo not installed, run repo init to install it here...
so i try ./repo init and i get this error msg lol.
"[email protected]:~/cm7$ ./repo init -u git://github.com/Incr3at1on/platform_manifest.git -b gingerbread
Traceback (most recent call last):
File "./repo", line 690, in <module>
main(sys.argv[1:])
File "./repo", line 657, in main
_Init(args)
File "./repo", line 189, in _Init
_CheckGitVersion()
File "./repo", line 214, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory"
no matter if i delete the repo file, redo curl, re chmod it, any time i type in repo or .repo or ./repo i get errors. i don't wanna jus chop up your zip lol, thats cheating. i wanna compile from your modified source, and than add changes
Click to expand...
Click to collapse
Alright; just got off work had a chance to actually look. First of all let me say sorry. Entirely my fault (sort of) it's what I get for ripping the walk through from someone elses readme without confirming it...
use this instead
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
updating the OP now
that was the second thing I tried. first u gotta mkdir ~/bin than curl ~/bin/repo than chmod ~/bin/repo than mkdir /cm7 CD /cm7 but when I repo or. repo or. /repo I still get the error.
Sent from my HTC Glacier using xda premium
smirkis said:
that was the second thing I tried. first u gotta mkdir ~/bin than curl ~/bin/repo than chmod ~/bin/repo than mkdir /cm7 CD /cm7 but when I repo or. repo or. /repo I still get the error.
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
Fair enough. I'm not sure but this
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory"
Click to expand...
Click to collapse
almost looks like it is pointing towards an error with python, did you go through and install all the requirements from : http://source.android.com/source/initializing.html ?
wow i feel dumb lol. so i mistyped a few of the required install packages i guess. i went back thru them and watched each one finish installing, and i am now compiling from your modified sources. time for a sandwich lol thanks
smirkis said:
wow i feel dumb lol. so i mistyped a few of the required install packages i guess. i went back thru them and watched each one finish installing, and i am now compiling from your modified sources. time for a sandwich lol thanks
Click to expand...
Click to collapse
Glad it works; I'm having to order a factory cable cause I was running CM9 and the ramdisk doesn't support offline charging...
Edit: In case that's not clear, my battery died lol
Hey,
So I flashed this rom, and is was working quite well, no problems at all and then I turned off my screen after using facebook or something and now it doesn't do anything anymore.. Nothing when I push the power button once, twice, hold it, plug in charger, connect to laptop. Nothing...
Can anyone please help me?
I only bought this thing 6 days ago.
Thanks
remmie80 said:
Hey,
So I flashed this rom, and is was working quite well, no problems at all and then I turned off my screen after using facebook or something and now it doesn't do anything anymore.. Nothing when I push the power button once, twice, hold it, plug in charger, connect to laptop. Nothing...
Can anyone please help me?
I only bought this thing 6 days ago.
Thanks
Click to expand...
Click to collapse
Hold the power button for twenty seconds. Then try turning it on again.
Sent from my Kindle Fire using XDA App
jmcoffey said:
Hold the power button for twenty seconds. Then try turning it on again.
Sent from my Kindle Fire using XDA App
Click to expand...
Click to collapse
Wow thanks a lot, I really thought I bricked it
remmie80 said:
Wow thanks a lot, I really thought I bricked it
Click to expand...
Click to collapse
Yeah sorry, SOD issues are kernel related I believe; part of why I am wanting to replace that kernel. Try an alternate like intersect ravens or hashcodes kernel to see if it doesn't happen again.
I thought this ROM would've licked that pesky Status Bar Force Close issue. Netflix works perfectly though. 1 out of 2 ain't bad.
Sent from my SPH-D700 using xda premium
Please accept my apologies if this has been answered before. I did a search and did not find a similar problem. I am a noob and will read any guide or how to that you refer me to in order to learn how to get better. I am new to Ubuntu/Linux and terminal but if you point me in the right direction I can probably figure it out. I will try to provide as much detail as possible.
I have recently built a Jelly Bean AOSP ROM following this XDA Guide.
I am using Ubuntu 10.04 LTS x64.
repo synced with this branch
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r3
which is build JRO03H
I downloaded and extracted the binaries on the Nexus Binairies page. I did notice that prior to building that unlike the ICS branches the JB device/samsung/toro folders do not have a extract-files.sh file
I made an otapackage using the full_toro-userdebug command.
I flashed the rom using ClockworkMod 6.0.1.0. I did a factory reset and wiped the cache prior to flashing. I also installed gapps-jb-20120726. Everything booted up fine and for the most part everything works except for the camera app. When I press the camera button I receive a message that says "Unfortunately, Gallery has stopped working." Or I get a black screen and nothing happens then I'm back in the app drawer. I have tried fixing the permissions and that did not fix the problem.
Can you explain to me what I need to do to get my camera and gallery app working? This is the only issue I have with my rom thus far. Do I need to extract the camera binary some how?
The camera and everything works fine my AOSP IMM76L build but not with my JB Build.
I have flashed other roms such Peter Alfonso's JB rom and his camera works fine, so any directions or links would be greatly appreciated.
Seeing the same.
I have this same JRO03H build (except I use CentOS 6.3 to compile AOSP 4.1.1_r3) with the EXACT same issue you describe. When the camera applet is selected it complains "Unfortunately, Gallery has stopped". Everything else in the build (24hours+ fresh) appears okay so far.
I fixed it.
I figured out the problem and was able to get the camera and everything to work. I did a couple of searches on Google and came across a thread from Android Central. I cant post the link since I have less than 10 post, but pm and I will send it to you.
We are still missing some proprietary files. Namely 6. The camera is named ducati or something and you have to either get it from another rom or extract it from ICS. I personally used Peter Alfonso's github for Jelly Bean and compared his vendor folder to mine and copied lines from his make files. Took me a couple of hours of comparing every file to realize that you need to focus on vendor some other files in core folder.
You can get his github information from his webpage and also look inside his OTA compared to your OTA to make it work. Also if you want to use Google Wallet you are going to have to edit your build.prop file in your OTA to make it not say full_toro use the 4.0.4 release keys.
I'm not at my testbox to walkthrough the steps but that's what I did. But sure to backup your source folder before you start tweaking, Came in handy twice before I got it right.
Hope that helps. Good luck.
could you please share your Rom? I also have the same issue. but still not fix it.
paternal_techie said:
I figured out the problem and was able to get the camera and everything to work. I did a couple of searches on Google and came across a thread from Android Central. I cant post the link since I have less than 10 post, but pm and I will send it to you.
We are still missing some proprietary files. Namely 6. The camera is named ducati or something and you have to either get it from another rom or extract it from ICS. I personally used Peter Alfonso's github for Jelly Bean and compared his vendor folder to mine and copied lines from his make files. Took me a couple of hours of comparing every file to realize that you need to focus on vendor some other files in core folder.
You can get his github information from his webpage and also look inside his OTA compared to your OTA to make it work. Also if you want to use Google Wallet you are going to have to edit your build.prop file in your OTA to make it not say full_toro use the 4.0.4 release keys.
I'm not at my testbox to walkthrough the steps but that's what I did. But sure to backup your source folder before you start tweaking, Came in handy twice before I got it right.
Hope that helps. Good luck.
Click to expand...
Click to collapse
wangyu7988 said:
could you please share your Rom? I also have the same issue. but still not fix it.
Click to expand...
Click to collapse
I am uploading to mediafire as I don't think I have a high enough post count to post the rom here.
I haven't posted enough on XDA to be able to reply to the appropriate development forum post, so I decided to post here. I'm running CM10 on a Sprint Galaxy Nexus (toroplus), and I had been in need of a way to use NFC while the screen was locked, but couldn't find one for the latest build of CM10. I found this thread http://forum.xda-developers.com/showthread.php?t=1709586 but the latest updates only had one for screen off (which is a little less secure IMHO), and when I used it, I would have to turn NFC off and then back on almost every time I used it, which defeated the purpose. I also saw that someone else was having the same issue, so I decided to compile one myself using the latest CM10 source. This was built from source as of 10/31/2012 and has only been tested on the nightly build with the same date. I figured I'd share it with everyone that might be needing the same.
Disclaimers: This requires a rooted phone! This has only been tested on the Sprint Galaxy Nexus running CM10 nightly dated 10/31/2012, but may work with other versions. Do a backup! I'm not responsible for any problems resulting from these files, so backup first!
To install, copy to your SD card. Reboot into recovery. DO A BACKUP! Install the zip from the SD Card. Reboot.
There are two versions I created. One is for when the screen is on, but locked. The other is for when the screen is off.
Update 1/2/2013:
I compiled a version of the screen locked for CM10.1 (Android v4.2.1) for anyone who would like it. I was getting mixed results with the previous file on 10.1. This one is working on my toroplus with the latest CM10.1 nightly. I'll build a screen off version later. I was having some problems with my build VM, so I didn't get to it yet. The new file for CM10.1 is called NFC_Screen_Locked_CM10.1.zip.
Update 1/3/2013:
The CM10.1 version of the screen off version is now posted. File name is NFC_Screen_Off_CM10.1.zip
Update 1/16/2013:
Previous version of NFC_Screen_Off_CM10.1.zip was not working. Should be working now.
Update 1/16/2013:
Added a patch that can be used against CM10 or 10.1 source code to add an option to the settings to switch between screen on, locked, or off NFC. You must build the entire thing from scratch to use this patch. There are logs of guides for building CM. Here's a link to the CM wiki article for toroplus for example. Before executing brunch, copy this file to the root of where you created the repo (the article uses the ~/android/system/ folder for instance) then execute the following two commands:
Code:
tar -xzf nfc-patch.tar.gz
./apply-nfc-patch.sh
Or in the use package manager to untar all of the files (maintaining the directory structure) and then double click and run the apply-nfc-patch.sh file. This will patch all of the necessary files in the build. Then continue with the instructions in the build guide and flash the resulting ROM.
Disclaimer Again: This could break your phone. I'm not responsible for any damages this may cause. This has only been briefly tested on my toroplus with the latest CM10.1 code from the repository.
Credits: Rick C who originally submitted most of this to the CM repository but was rejected.
Update 1/21/2013:
Looks like a recent commit to the repository broke one of the diffs in the patch. Uploaded a new version.
Update 2/13/2013:
Another update to fix an issue with the patch files. I also added a reset script that will do a hard reset for git repos of the affected packages. Don't use this script if you have made any other customizations to the Settings app, NFC app or the frameworks/base code as you will lose them. Just do things in this order:
1) run reset script
2) run repo sync
3) extract tar again
4) run apply script
5) run brunch again
You can use this sequence every time you want to grab the latest code.
If you get errors when running the apply script you can use this command to delete the error files that come up. These files might show up even if the patch works, but the code wasn't exactly what the patch was expecting, but enough to apply anyway.
Code:
find . \( -name \*.orig -o -name \*.rej \) -delete
This set of commands should do the trick for most people to get the latest code, apply the patch and build:
Code:
./reset-nfc-patch-repos.sh
repo sync
tar -xzf nfc-patch.tar.gz
./apply-nfc-patch.sh
source build/envsetup.sh && brunch <your-device-name>
Update 2/27/2013:
Made some fixes to the notes in the previous update based on feedback from mrplowdan.
Update 3/15/2013:
Compiled a new version of the CM10.1 files for those having issues.
Update 10/21/2013:
Added a test version of the screen locked version for CM10.2 now that toroplus has an official CM10.2 nightly. Let me know if there are any issues. I'll add a screen off version when I have some time.
Update 11/19/2013:
Finally getting around to adding a screen off version for CM10.2. The screen locked version has been running well on my toroplus for the last month with no issues.
Has anyone tested this on Maguro?
Just recently got my phone back from service (after 10 weeks) so i'm not re-rooted yet, hence i can not try this on stock myself. Just wanted to give a big thanks to you for creating and developing this this is really a truly great way to make use of the nfc and the way it should have been done from the very beginning. I.ex if your out running, listening to music and for some reason need to pause your music, just swipe a previosly attached nfc-tag on your sleve over your pocket with the phone in. And again to start music. Awsome work, thank you!
Sent from my Galaxy Nexus using xda premium
It may work on Maguro as long as you're using a fairly recent version of CM10. If I knew anyone with a device, I'd test it myself. It's fairly low risk to test. It only replaces a single file. It's the Nfc.apk in the /system/app/ folder. You could always rename your existing file; install this one; and then reboot and test it out. Also, if you're wary of the zip itself, you can just extract the Nfc.apk and copy it to your /system/app/ folder manually, just don't forget to reboot. Then if it breaks you can just delete the new one and rename the old one back. You could also just backup everything; install the zip; and just restore the backup if anything breaks. Anyway if you decide to be adventurous, let us know how it goes. I'll keep this thread updated if CM makes any other changes that break it again. I use it often, so I'll likely find out pretty quickly. Hopefully, they'll add this as a setting in CM10 some day.
Sent from my Galaxy Nexus using xda app-developers app
could i use it on every rom cm based?
It depends on how many modifications were made by the mod around NFC, if any. Also depends on when the last time was that they merged their code with CM. In theory it should work with most CM based mods. You can always try it out as I mentioned above and revert if it breaks. And post here with your results if you try it, so others can benefit.
Sent from my Galaxy Nexus using xda app-developers app
Locked version tried and working maguro. I'm on latest Jellybro. Good work and thanks
Sent from my Galaxy Nexus using xda premium
CM10.1 Update
I compiled a version of the screen locked for CM10.1 (Android v4.2.1) for anyone who would like it. I was getting mixed results with the previous file on 10.1. This one is working on my toroplus with the latest CM10.1 nightly. I'll build a screen off version later. I was having some problems with my build VM, so I didn't get to it yet. The new file for CM10.1 is called NFC_Screen_Locked_CM10.1.zip.
irotsoma said:
I compiled a version of the screen locked for CM10.1 (Android v4.2.1) for anyone who would like it. I was getting mixed results with the previous file on 10.1. This one is working on my toroplus with the latest CM10.1 nightly. I'll build a screen off version later. I was having some problems with my build VM, so I didn't get to it yet. The new file for CM10.1 is called NFC_Screen_Locked_CM10.1.zip.
Click to expand...
Click to collapse
Great work! - many thanks from me!
I'm waiting so long for the Screen-Locked Version ...
Best regards
JoSch
can it be included in cm10.1?
I was just wondering, can't this be somehow merged with stock cm10.1? Add checkboxes in the settings.apk, lots of warnings when enabling it and people who know can use it.
nice work btw
Screen Off for CM10.1
The CM10.1 version of the screen off version is now posted. File name is NFC_Screen_Off_CM10.1.zip
cthulu said:
I was just wondering, can't this be somehow merged with stock cm10.1? Add checkboxes in the settings.apk, lots of warnings when enabling it and people who know can use it.
nice work btw
Click to expand...
Click to collapse
Yes, actually I've been wanting to do this for a while, but I never seem to have the time to dig into the settings UI and how to read that setting. If you or someone else would be willing to create the settings piece and tell me how to access the setting that you create, I'd be happy to alter the NFC service to look at those settings. Ideally there should be a preference with an integer value of 1 for screen off, 2 for screen on but locked, and 3 for screen on and unlocked (default) as that's the value that the service expects currently.
First of all i would like to thank you posting this, just what I was looking for.
Im running one of the latest cm10.1 nightlies (jan 1st or 2nd) and flashed the NFC_Screen_off_CM10.1zip however it doesn't work while the screen is off, though it does work when the screen is on and the phone is locked. I have a Galaxy Nexus (gsm).
When I logcat the phone I don't see NFC being discovered with the screen of but with the screen on and the phone locked I do see that it discovers an NFC event.
Is there anything that can be done about this?
Thanks!
dannyvanderzande said:
First of all i would like to thank you ting this, just what I was looking for.
Im running one of the latest cm10.1 nightlies (jan 1st or 2nd) and flashed the NFC_Screen_off_CM10.1zip however it doesn't work while the screen is off, though it does work when the screen is on and the phone is locked. I have a Galaxy Nexus (gsm).
When I logcat the phone I don't see NFC being discovered with the screen of but with the screen on and the phone locked I do see that it discovers an NFC event.
Is there anything that can be done about this?
Thanks!
Click to expand...
Click to collapse
That's odd. I didn't have an NFC tag handy when I built the screen off version, so I assumed the same changes I made in CM10 would work in 10.1 since the screen locked version worked. I'll test it on my device and see if I can figure it out as soon as I get some free time. Thanks for letting me know!
irotsoma said:
That's odd. I didn't have an NFC tag handy when I built the screen off version, so I assumed the same changes I made in CM10 would work in 10.1 since the screen locked version worked. I'll test it on my device and see if I can figure it out as soon as I get some free time. Thanks for letting me know!
Click to expand...
Click to collapse
I decided to check the files out myself to try and figure it out and maybe quick fix it myself (which would have saved you the time) by referencing to the 10.0 apk's however I found out they differ a lot more from eachother than I expected so it was a bit too much for my skillz. I found this out using a comparison tool and while I was at it I compared the 10.1 screen lock and 10.1 screen off versions. According to my program they are exactly identical in either file structure as in file contents so I'm guessing something must have gone wrong with renaming or I just don't know how to use the tool? I'm just mentioning this as something I came upon, not to ***** or anything! I really appreciate the work you did!
Anyway.. I had some fun figuring things out and learning about decoding apk's and all of that. Thanks for all the hard word so far and I'll just wait patiently upon the new screen-off version.
The screen off one works perfectly for the Toro running the last stable 4.1.2 liquid smooth rom. Awesome work, thanks a million!
Edit: I'm not sure if it makes a difference but I didn't flash it, I pulled the apk from the zip, copied and pasted and reset permissions then restarted.
Fixed CM10.1 Screen Off
irotsoma said:
That's odd. I didn't have an NFC tag handy when I built the screen off version, so I assumed the same changes I made in CM10 would work in 10.1 since the screen locked version worked. I'll test it on my device and see if I can figure it out as soon as I get some free time. Thanks for letting me know!
Click to expand...
Click to collapse
OK, so I uploaded a new version. I actually tested it this time and this one worked for me on my toroplus. Let me know if there are any other issues, but you should be good to go after flashing this one. Sorry it took so long to get around to it. Enjoy!
Settings Patch for CM Source Code
cthulu said:
I was just wondering, can't this be somehow merged with stock cm10.1? Add checkboxes in the settings.apk, lots of warnings when enabling it and people who know can use it.
nice work btw
Click to expand...
Click to collapse
I did a little digging and found that there was a patch submitted to CM10 to include a switch for this in the settings. However, it was rejected by Steve Kondik and abandoned. I took all of the code and merged it into the latest CM10.1 code and it seems to work. I added a patch to the main post, but you have to compile CM from scratch to use it since it touches some framework components. The good news is it should work on any device that CM supports (that uses the NFC.apk though not devices that use NfcNci.apk like the Nexus 4) and should work on both CM10 and 10.1 in most cases.
The patch is basically just a few diff files and a bash script to automate the patching. If anyone is feeling adventurous, feel free to experiment with it. I can't promise it will work for you, but it's fun to try and learn a bit about building CM source code in the process. Basic directions are in the original post. As always I take no responsibility for anything it might break, but I'll be happy to try to troubleshoot if I can. Enjoy!
Thanks for all your effort.
Unfortunately it doesn't work on the nexus 4 but after some googling I found a working version for the nexus 4 on the forums here on xda. Im guessing there's a difference in chips or something...
dannyvanderzande said:
Thanks for all your effort.
Unfortunately it doesn't work on the nexus 4 but after some googling I found a working version for the nexus 4 on the forums here on xda. Im guessing there's a difference in chips or something...
Click to expand...
Click to collapse
Thanks for pointing that out. I clarified the previous post a bit. I should have said it should work with any devices that use Nfc.apk. Newer devices that use NfcNci.apk will not work with the patch.
After following this tutorial I compiled CM9 for my r800x and everything works fine but since I first compiled I have edited the SystemUI sources. The problem is when I compile it doesn't compile the new sources. Anyone know what I'm doing wrong? Sorry if this is a noob question.
Extra information (not sure if important but might help find the cause):
Using Xubuntu 12.10
Oracle Java 6
I edited /frameworks/base/packages/SystemUI
I compiled for zeusc instead of zeus
What more specifically did you modify? Not sure why it would not rebuild, unless there's some kind of issue with the timestamps or your system clock. (It knows to rebuild if the source files have a newer timestamp than the compiled files they produced)
You can always just do a clean build. You can even just change the output directory without messing up your current build:
http://source.android.com/source/initializing.html said:
export OUT_DIR_COMMON_BASE=<path-to-your-out-directory>
Click to expand...
Click to collapse
You can set that to a different directory and it will build it all over again, putting all the output in that directory instead. With this different, it won't affect the output of your current build and you can always clear this variable to go back. Then you can use this for comparison. Alternatively you can just wipe out your output directory and build it over. You may also be able to dig into your output directory and delete the compiled files for the sources you have modified and then it should definitely notice and rebuild those.
EDIT: Also note that there are build instructions on the CyanogenMod wiki: http://wiki.cyanogenmod.org/w/Build_for_zeus
On the repo init line you can also say '-b jellybean' instead of ics and it will build CM10 (which is pretty good too but not fully stable, it's CM10.1 that is more unstable)
I also noticed that in the 'stable' release of CM9 for zeus the proximity sensor does not work, but there are patches for it in the repo and I've built from source with CM10 and it works fine.
~Troop
Trooper_Max said:
What more specifically did you modify? Not sure why it would not rebuild, unless there's some kind of issue with the timestamps or your system clock. (It knows to rebuild if the source files have a newer timestamp than the compiled files they produced)
You can always just do a clean build. You can even just change the output directory without messing up your current build:
You can set that to a different directory and it will build it all over again, putting all the output in that directory instead. With this different, it won't affect the output of your current build and you can always clear this variable to go back. Then you can use this for comparison. Alternatively you can just wipe out your output directory and build it over. You may also be able to dig into your output directory and delete the compiled files for the sources you have modified and then it should definitely notice and rebuild those.
EDIT: Also note that there are build instructions on the CyanogenMod wiki: http://wiki.cyanogenmod.org/w/Build_for_zeus
On the repo init line you can also say '-b jellybean' instead of ics and it will build CM10 (which is pretty good too but not fully stable, it's CM10.1 that is more unstable)
I also noticed that in the 'stable' release of CM9 for zeus the proximity sensor does not work, but there are patches for it in the repo and I've built from source with CM10 and it works fine.
~Troop
Click to expand...
Click to collapse
Never even thought about changing the location it is output to or anything like that. Kinda feel dumb not trying that but I will soon. Also I've looked at CyanogenMod's wiki already. And is CM 10 working on zeusc? I thought it was still only zeus but I haven't checked in a while.
bandoncontortion said:
Never even thought about changing the location it is output to or anything like that. Kinda feel dumb not trying that but I will soon. Also I've looked at CyanogenMod's wiki already. And is CM 10 working on zeusc? I thought it was still only zeus but I haven't checked in a while.
Click to expand...
Click to collapse
Cj360 made a zeusc version and uploaded it to fxp cm10 page. I've tested it and it works great
Sent from my Xperia Play (r800x)
Also all I did to SystemUI was add one .java file. I didn't know zeusc had cm 10. I'll check it out.
bandoncontortion said:
Also all I did to SystemUI was add one .java file. I didn't know zeusc had cm 10. I'll check it out.
Click to expand...
Click to collapse
Make sure the timestamp of the file you added is newer than the time you built. Otherwise, make will not realize there is a new file. Seems like you must have modified some other source file though to make use of the new source file.
A simple way to update the timestamp of a file is the "touch" command. If you touch a file before your build, it should always rebuild that file unless you have more serious problems.
Also, I forgot about the zeusc not being as well supported... so hopefully all the fixes for CM10 on the zeusc are in the repositories.
I do like CM10 better than CM9... especially since I figure if we're going to ditch stock-based GB, there's even less reason to live in the past.
~Troop
Changing the timestamp didn't do anything. I'll try deleting the already compiled files and recompile everything over again tomorrow. Also CM10 is a lot better in my opinion too so I'll try it now so hopefully it'll work and fix the problems I'm having.
Trooper_Max said:
Make sure the timestamp of the file you added is newer than the time you built. Otherwise, make will not realize there is a new file. Seems like you must have modified some other source file though to make use of the new source file.
A simple way to update the timestamp of a file is the "touch" command. If you touch a file before your build, it should always rebuild that file unless you have more serious problems.
Also, I forgot about the zeusc not being as well supported... so hopefully all the fixes for CM10 on the zeusc are in the repositories.
I do like CM10 better than CM9... especially since I figure if we're going to ditch stock-based GB, there's even less reason to live in the past.
~Troop
Click to expand...
Click to collapse
CM10 works good on zeusc. Haven't found any bugs and I added the changes to it's SystemUI and it compiled it for me and works great. Thanks for the help!