[ROM][4.0.4][MTD] CyanogenMod 9.0.0 | READ : http://goo.gl/rkEeh

Status
Not open for further replies.
Search This thread

qm4n76

Senior Member
Oct 26, 2011
340
109
Gorontalo
Any help is greatly appreciated. How do I replace media.profile in camera setting with new patch to allow front camera to work. BTW this rom rocks!!! You guys are awesome!

Sent from my GT-P1000 using xda premium

You can push it from pc using adb, or put media_profiles.xml to sdcard then copy it to system/etc using root explorer or any file manager that have root access permission.
 

cheatman

Senior Member
May 21, 2007
589
2,161
Migration Institute
Try this CWM zip for the camera Fix (attached). Let me know if it works.
Credits go to alroger, jt and others for this FIX!!! Works great on both MTD and non-MTD builds!

Thanks a lot for your work, man!!!

PS: includes both the profiles and the lib.

Cheers,
C.
 

Attachments

  • CM9_Camera_Fix_V1.zip
    223.5 KB · Views: 325
Last edited:

alroger

Senior Member
May 19, 2011
1,299
1,937
Deerfield Beach
OnePlus 6
Moto G Stylus 5G
Try this CWM zip for the camera Fix (attached). Let me know if it works.
Credits go to alroger for this FIX!!! Works great on both MTD and non-MTD builds!
Thanks a lot for your work, man!!!
PS: includes both the profiles and the lib.

Me? How did I get the credit??? :p
Credit goes to jt and others!

Thanks for the all-in-one script!
 
  • Like
Reactions: popsick and yappoe

qm4n76

Senior Member
Oct 26, 2011
340
109
Gorontalo
Try this CWM zip for the camera Fix (attached). Let me know if it works.
Credits go to alroger for this FIX!!! Works great on both MTD and non-MTD builds!

Thanks a lot for your work, man!!!

PS: includes both the profiles and the lib.

Cheers,
C.
Confirms, works but not for all camera app like camera360, same result with alroger/jt patch
 
Last edited:
  • Like
Reactions: popsick

adi6262

Senior Member
May 16, 2011
617
162
USB host

This set up isnt working . Any Ideas ?


see attached pic .

Its tab -> samsung usb charging cable -> usb gender switcher -> flash drive .

mouse didnt work either .

edit: pic upload failed . the set up as mentioned above
 

DroidTalk

Senior Member
Feb 7, 2012
144
12
My camera was working fine after the patch and replacing that xml file but then suddenly force closed and refuses to open now.
 

alroger

Senior Member
May 19, 2011
1,299
1,937
Deerfield Beach
OnePlus 6
Moto G Stylus 5G
radio partition size

Huston, we might have a problem.
While reading a few peeps with APN problems I realized that the new CM9 flashes the JPZ modem. Though it might work for most, might not work for some.
I was trying to get my original latest KM2 flashed when I saw that we have only 13MB free on the 16MB radio partition. While JPZ is 12MB, my original KM2 is 16MB! So I couldn't flash my modem.
Besides that, I noticed that we can just push modem.bin into the /radio partion to get it working on the fly - very nice.

Cheers!
 

olinz

Senior Member
Jan 7, 2011
50
2
VA
Huston, we might have a problem.
While reading a few peeps with APN problems I realized that the new CM9 flashes the JPZ modem. Though it might work for most, might not work for some.
I was trying to get my original latest KM2 flashed when I saw that we have only 13MB free on the 16MB radio partition. While JPZ is 12MB, my original KM2 is 16MB! So I couldn't flash my modem.
Besides that, I noticed that we can just push modem.bin into the /radio partion to get it working on the fly - very nice.

Cheers!

Will this have to be done with every reboot. Ill try to figure it out, dont know how to it yet although i do know how to use adb push dont know where to exactly push the file to.
 

reddog69

Senior Member
Dec 16, 2009
100
11
clinton,mo
hey guys anyone having this error while compiling now home/rich/sgt7/kernel/samsung/p1/drivers/usb/gadget/s3c_udc_otg.c:1364: undefined reference to `dwc_otg_driver'
any help is appreciated
 

grukko

Senior Member
Apr 28, 2011
323
58
Sorry if this has been asked before. I looked through the last few pages but did not see the answer.

Should I be building from the cm or sgt7 repository now? I know there's a lot of reorganization going on.

Thanks!
 

alroger

Senior Member
May 19, 2011
1,299
1,937
Deerfield Beach
OnePlus 6
Moto G Stylus 5G
Sorry if this has been asked before. I looked through the last few pages but did not see the answer.

Should I be building from the cm or sgt7 repository now? I know there's a lot of reorganization going on.

Thanks!

It's explained in the OP.
sgt7 has more tweaks from peeps here... like sbradymobile's Trebuchet.
CM is official, standar CM.

You can build either.

---------- Post added at 06:12 PM ---------- Previous post was at 06:11 PM ----------

Will this have to be done with every reboot. Ill try to figure it out, dont know how to it yet although i do know how to use adb push dont know where to exactly push the file to.

No No no... that was just a warning for the DEVs. If your phone and data is working you don't even have to mess with modems.
 
  • Like
Reactions: grukko

grukko

Senior Member
Apr 28, 2011
323
58
It's explained in the OP.
sgt7 has more tweaks from peeps here... like sbradymobile's Trebuchet.
CM is official, standar CM.

You can build either.



Thanks. How are updates to cm updated to sgt7? Do the devs need to do this manually or is there some kind of merge script? Just kind of curious how this works.
 

ableeker

Senior Member
Nov 20, 2010
239
34
Yet another confirmation. Two confirmations in fact.

First: compiling works. I used the latest instructions (brunch) today to successfully compile a ZIP that booted, and ran quite happily after installing it from CWM. I ran a slightly earlier 4.0.4 which used MTD, so this was simply a case of installing the ZIP over the earlier build. Didn't even loose any data.

Second: the rear camera works with the stock app.

This ROM is getting to be the best. Awesome job, guys!
 

cdesai

Inactive Recognized Developer
Jan 16, 2011
2,296
4,089
IN YOUR HEAD
Yaay, one more good news

Got kexec working on p1
Those who have worked with linux kernels might know what it is :)
In short - it allows booting a kernel from sd, so you just flash a special zip and then that kernel is booted from sd, on a reboot it reverts back to the kernel you had before flashing the kexec zip

Will make kernel testing a LOT easier

Patch here : http://review.cyanogenmod.com/#/c/14898/

Test Kernel : http://goo.im/devs/cdesai/p1/kernels

Just flash the zip downloaded from the above location, and it'll boot the kernel from sd
Booting might take longer than usual, but it'll boot eventually :)
Reboot your tab, and you'll be back to the previous kernel
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 190
    Read this, IMPORTANT: http://goo.gl/rkEeh

    Code:
    ** These CyanogenMod builds are highly experimental and unsupported.
    **
    ** If one of this builds bricks your phone, kills your cat or causes
    ** a thermonuclear war, don't point at us. We'll laugh at you.
    ** You decided to make this modifications to your Tablet.
    **
    ** Please refrain from submitting bug reports for any issues
    ** you may encounter while running one of these builds.
    **
    ** Submitting bug reports on experimental builds is the leading 
    ** cause of male impotence.


    This is a stable Build of the current state of CyanogenMod 9 for the Samsung Galaxy Tab.
    CM9 is based on latest AOSP sources plus some useful tweaks and features.

    Known issues, Downloads and Screenshots: Post #2
    General Discussion thread : SGT7 General
    Developer only post : Post #3 (how to build and more)
    What is MTD (for epic, but its the same for all Samsung devices - except the ROM links ofcourse) http://xdaforums.com/showthread.php?t=1387334

    Please refrain from submitting bug reports for any build not released by us - report em to whom u got the build from

    We'll release new builds when we feel like doing so, although we do keep our sources updated all the time!

    The people behind this :

    angel_666
    cdesai
    humberos
    jt1134
    koxudaxi
    red_rebel
    sbradymobile
    eaut
    Techomancer

    Big thanks to Teamhacksung for all their work on the aries, and for all the help

    And Ofcourse - the CyanogenMod Team!
    88
    Known Issues + Useful info :
    USB Tethering won't work in windows (works in ubuntu, untested on OSX)
    Internal sd is /mnt/sdcard, and external is /mnt/emmc
    USB Host works with a Y cable as the tab doesn't supply power, doesn't with the standard Samsung Adapter for the new tabs.

    Official Nightlies : http://get.cm/
    p1 : http://get.cm/?device=p1 [GSM Tabs]
    p1c : http://get.cm/?device=p1c [CDMA Tabs]
    Modems :
    p1 [GSM] : http://goo.gl/EjHq5 (Flash via CWM)
    p1c [CDMA] : http://goo.gl/Dhmjl (Flash via Odin)

    READ THIS BEFORE FLASHING
    ^It's for the epic but it's pretty much the same thing except the ROM links, and the only ROMs having MTD now are CM9 based ROMs - no MTD on GB

    Only way to revert to a normal ROM now is flashing a stock Samsung ROM by odin (with repartition checked)


    How to Flash the above zips :

    You need to restock your tab if you are running an old MTD build, (only if /system isn't 406 mb, check it by the command `df system` or use an app (such as root explorer) )
    IF you are coming from a FSR (STL/BML) ROM (aka Samsung ROM - anything else than the latest CM9 builds / AOKP builds, i.e. any GB ROM, no need to restock)
    IF you are coming from a froyo ROM, you need to flash a stock GB ROM first, follow the guide below :

    Restocking :
    Follow the team overcome restock guide [http://www.teamovercome.net/p1000/?page_id=17], and completely restock your tab.
    Once you've flashed it, reboot into download mode again and flash any kernel with recovery (any non-MTD kernels from humberos.com.br, or this forum, for your tab model)
    After you've flashed the kernel, reboot into recovery, and this time, install the zip you just downloaded from CyanogenMod servers.
    Install Google Apps if you want (gapps-ics-* from goo.im) [optional]
    Reboot and enjoy your tab :)

    Normal install :
    You need to have a kernel with CWM Recovery
    Get the zip from the above download links
    Put the zip on your sdcard, reboot into recovery, and install the zip
    It'll reboot a few times during the install, that's normal :)


    attachment.php
    attachment.php
    attachment.php
    44

    Sources :

    CyanogenMod : https://github.com/CyanogenMod
    SGT7 (based off CyanogenMod sources with a few tweaks of our own) https://github.com/sgt7

    All device tress (p1, p1c and p1-common) and kernel tress (p1 and p1c) have been merged into the CyanogenMod tree now, if you want to submit a change/patch, use cm code-review [http://wiki.cyanogenmod.com/wiki/Howto:_Gerrit]

    How to get the sources :
    Setup Android Build Environment (http://source.android.com)
    Code:
    mkdir ~/cm9
    cd ~/cm9
    repo init -u git://github.com/CyanogenMod/android.git -b ics
    (Type in your name and email address when asked)
    Code:
    repo sync
    (^^This'll take a while, as ~7GB of sources are downloaded initially)

    How to build :
    Code:
    source build/envsetup.sh
    cd device/samsung/p1 ; ./extract-files.sh
    brunch p1
    Replace p1 with p1c for CDMA variants.
    Building may take a long time depending on your machine, might range from a few minutes to many hours
    After the build is done, navigate to ~/cm9/out/target/product/p1
    The zip you'll be looking for would be update-cm-9.0.0-RC0-p1-UNOFFICIAL-signed.zip

    If you want to build just the kernel, type the below commands
    Code:
    source build/envsetup.sh
    make out/target/product/p1/boot.img

    If you want just the kernel - u'll get it in the same folder, boot.img
    Flash it with heimdall
    heimdall flash --kernel ~/cm9/out/target/product/galaxytab/boot.img --recovery ~/cm9/out/target/product/galaxytab/boot.img

    ^^The above instructions were for building a clean CyanogenMod build for p1, without any changes we did to the sources (mainly frameworks and some apps)

    IF you want to build that, sync from https://github.com/sgt7/android.git instead of CyanogenMod, and then build using the same commands
    38
    I got some news!

    https://plus.google.com/115013390614274076135/posts/CcmArQkDDXn

    Official builds coming soon!


    But, till then, i suggest the kangers not to sync, as i'll be changing stuff upstream which might break the build(mainly vendor/samsung, device is now p1 and p1c)

    So, dont repo sync until i give a heads up(or remove vendor/samsung from your manifest)

    And, don't try to build p1 atm (uploading it in a while) - Can build the good old galaxytab fine, just don't try to build p1 or you'll be on your own (you'll know why soon)
    37
    CM9 - Updates

    Hi fellows!

    Just check it!

    http://www.humberos.com.br/p/android-ics.html

    ps. Today is my brother birthday!
    This is for him!



    Greetings from Brazil!

    Enjoy!