yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 General] ThaiDai:
Building your own CM10.2

After building and using a CM10.1 for a few days now I started to try to build the experimental CM10.2 myself.

I used the How To in the CyanogenMod wiki and changed some settings related to 10.2 (or maybe better: I tried to change).

The history:

In the morning my first build succeeded and could be installed on the device. Testing it without factory reset and only cleaning the caches. It booted in the usual way. Then I got the offer to choose between Nova and Trebuchet launcher (I'm using Nova in 10.1). The selection of the launcher resulted in a restart. So not really successful.

After a factory reset I get the restart when choosing the language in the setup. My build configuration is definitely incomplete/wrong.

Now I switched to the provided built and with this one I could boot into CM10.2 without making a factory reset. Using it right now to connect with a ssh client to my build computer at home and trying a new build.

The idea:

Maybe there are other members here who want to make their own CM10.2 builds as early as possible. Or maybe some did already.

So I want to write down the necessary changes to the normal CM10.1 procedure and I hope that this might help to solve some problems.

With the "migration" of this thread from Original Development to General I assume it is ok to do so (if not I will delete it asap).

Changes in the original Tutorial:

How To Build CyanogenMod Android for Samsung Galaxy Note (International) ("n7000")

I followed the tutorial which is a really good one. I will list the changes I made for CM 10.2.

2.3 Initialize the CyanogenMod source repository

Switched from cm-10.1 to cm-10.2

$ cd ~/android/system/
$ repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2

2.8 Prepare the device-specific code

removed this. So if my new build will work this thread might get useless because there isn't much to change in the 10.1 tutorial

With these changes I can start to build CM 10.2 and get an installable zip.

Right now I'm building it again and will try later if "my" restart will disappear or some things more need to be changed.

And of course I hope some members might help me or add necessary parts.

Thanks in advance.
[Galaxy Note GT-N7000 General] raghav84:
Thanks for the thread and sorry for the OT xplodwild
[Galaxy Note GT-N7000 General] MR.Samo:
Yeah thank you XpLoDWilD and i am sorry too:(
[Galaxy Note GT-N7000 General] KiRAdot47:
it's a semi off-topic: i almost have one rule when i change/buy my phone: to be CM supported. :)

By far the best rom out there, not all the fancy things producer does (although NEMESIS project, it is one as the name states)(although i would like a center clock and a ram bar at the recent apps :P), CM doesn't care about the age of the phone, or if one company must force end updating a rom, for the people to buy the next model (S thingy).

Thank you CM (i refer the the people, project and everything related to)!

Long Live CM

now you are spamming this thread too
[Galaxy Note GT-N7000 General] DeKubus:
In my oppinion, asking if the possibility of bricking one's device due to a EMMC bug and the fact that the new Android version uses a command that can trigger said bug IS development related. But heck, whatever. Then let me ask the same question here: could this ROM possibly brick my phone or was that taken care of during developement?
[Galaxy Note GT-N7000 General] KiRAdot47:
i want to think that the developers already thought about that, and if there was any danger it was posted already...

why do we have the experimental builds, just to screw up our phones, see how many ppl flash 10.2 and screw their phones, statistical emmc chips fried?
[Galaxy Note GT-N7000 General] ThaiDai:
I asked this question in the closed thread and because of that I took the liberty to repeat it in a PM.

fstrim (it is a part of the CM10.2 sources) command works on eMMC and the developers will check if this is a real threat or only a wrong assumption.

So we'll have to wait a little - the answers will come.
[Galaxy Note GT-N7000 General] projeto56:
So this is the fun thread?
[Galaxy Note GT-N7000 General] AA1973:
I hope it won't be (ab)used as such. As xplodwild made it clear by closing the other one without further warning.
[Galaxy Note GT-N7000 General] orphansmith:
I love CYANOGEN MODE.

I can't live with cyanamode...

That's why I bought gt n7000

Thank tlyou cm

Long live our CM
[Galaxy Note GT-N7000 General] XpLoDWilD:
To answer the FSTRIM / EMMC brick bug: You should be safe. Right now CM kernels block all erase, and all Sammy kernels translate secure into nonsecure.
[Galaxy Note GT-N7000 General] ThaiDai:
I found an info in other kernel development thread - and of course I do not know it this statement is true, but it seems logical:

fstrim won't work with MMC_CAP_ERASE disabled.

So with the safe CM kernels (here it is disabled) we still can't experience the brickbug.

But we won't get the trim benefits with 4.3 (see the XDA Portal today with a report about it).

The source of fstrim.c (in system/vold) is quite simple to read.

The magic is done in this line (part of an if-statement):

ioctl(fd, FITRIM, &range)

If the fstrim <-> MMC_CAP_ERASE relation is true, we are safe but will still suffer from the increasing lags.

Let's wait for a more reliable analysis by Entropy512 or other eMMC-Gurus.

The complete function here:

static void *do_fstrim_filesystems(void *ignored)
{
int i;
int fd;
int ret = 0;
struct fstrim_range range = { 0 };
struct stat sb;
extern struct fstab *fstab;

SLOGI("Starting fstrim work...\n");

/* Log the start time in the event log */
LOG_EVENT_LONG(LOG_FSTRIM_START, get_boot_time_ms());

for (i = 0; i < fstab->num_entries; i++) {
/* Skip raw partitions */
if (!strcmp(fstab->recs[i].fs_type, "emmc") ||
!strcmp(fstab->recs[i].fs_type, "mtd")) {
continue;
}
/* Skip read-only filesystems */
if (fstab->recs[i].flags & MS_RDONLY) {
continue;
}
if (fs_mgr_is_voldmanaged(&fstab->recs[i])) {
continue; /* Should we trim fat32 filesystems? */
}

if (stat(fstab->recs[i].mount_point, &sb) == -1) {
SLOGE("Cannot stat mount point %s\n", fstab->recs[i].mount_point);
ret = -1;
continue;
}
if (!S_ISDIR(sb.st_mode)) {
SLOGE("%s is not a directory\n", fstab->recs[i].mount_point);
ret = -1;
continue;
}

fd = open(fstab->recs[i].mount_point, O_RDONLY);
if (fd < 0) {
SLOGE("Cannot open %s for FITRIM\n", fstab->recs[i].mount_point);
ret = -1;
continue;
}

memset(&range, 0, sizeof(range));
range.len = ULLONG_MAX;
SLOGI("Invoking FITRIM ioctl on %s", fstab->recs[i].mount_point);
if (ioctl(fd, FITRIM, &range)) {
SLOGE("FITRIM ioctl failed on %s", fstab->recs[i].mount_point);
ret = -1;
}
SLOGI("Trimmed %llu bytes on %s\n", range.len, fstab->recs[i].mount_point);
close(fd);
}

/* Log the finish time in the event log */
LOG_EVENT_LONG(LOG_FSTRIM_FINISH, get_boot_time_ms());

SLOGI("Finished fstrim work.\n");

/* Release the wakelock that let us work */
release_wake_lock(FSTRIM_WAKELOCK);

return (void *)ret;
}

---------- Post added at 05:47 PM ---------- Previous post was at 05:44 PM ----------

I just made my post and then saw this statement.

So no brick bug danger because of the blocked commands but we won't get the trim benefits in 4.3 for the N7000
[Galaxy Note GT-N7000 General] yoyoyed:
On this ROM you cannot record in full HD but when you install lg camera it is working ok
[Galaxy Note GT-N7000 General] cdmackay:
re TRIM, see also [MENTION=591147]Entropy512[/MENTION] comment here
[Galaxy Note GT-N7000 General] kimzplaze:
all is nice with this rom.. cept for some graphical stuff in Feedly and during screen rotation.. :)

it will run hot initially after that this rom runs as per normal

To get root working properly, need to disable root in developer settings, reboot the phone. After the phone reboots, enable root again. Root should work properly. Well, at least thats how i get my phone;s root working!

thanks! :)

A question, how do i see the list of notifications?
[AT&T Samsung Galaxy S II SGH-I777] blueraheel:
Hi, I'm running CyanogenMod 10.1 nightly on my sgh-i777. Everything was working perfectly but now Google play store is not connecting and is only giving the option to retry. The Google account is also not syncing. Internet is working fine through the browser and other apps.

Note: when I open play store a notification pops up "sign into wifi network".

I've tried clearing app data and cache. Tried reflashing gapps. Tried rebooting the phone. Tried dipping the phone in holy water , nothing.

Plz help
[AT&T Samsung Galaxy S II SGH-I777] 4-2ndtwin:
Try removing your google account from ur phone. Then re-add it.
[AT&T Samsung Galaxy S II SGH-I777] blueraheel:
i removed the google account and re added it , it says

"couldn't sign in. Cant establish a reliable connection to the server. This could be a temporary problem or your android device may not be provisioned for data services .IF it continues , call customer care. "

even though my phone is connected to wifi.

what is that notification about signing into wifi network? it didnt appeared before but it started appearing when this connection error started.

HELP!!!
[Nexus 7 Q&A, Help & Troubleshooting] k91191:
Help! Stuck in bootloop ("E:Can't open /dev/block/platform/sdhci-tegra.3/by-name/MSC"

something went wonky with my device when I was experimenting with unlocking/rooting earlier today. I've managed to get it stuck on the Google logo. I've tried flashing different versions of Google's stock roms through Nexus 7 ToolKit, Nexus Root Toolkit, and even Windows CMD using adb.exe numerous times (using a guide from androidcentral forums that someone on this forum linked to). When I boot into stock recovery, I get a strange set of messages. Perhaps this may have to do with my bootloop?

E:failed to mount /cache (No such file or directory)

E:Can't mount /cache/recovery/log

E:Can't open /cache/recovery/log

E:failed to mount /cache (No such file or directory)

E:Can't mount /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

E:failed to mount /cache (No such file or directory)

E:Can't mount /cache/recovery/last_install

E:Can't open /cache/recovery/last_install

E:Can't open /dev/block/platform/sdhci-tegra.3/by-name/MSC

(No such file or directory)

E:failed to mount /cache (No such file or directory)"

I get pretty much the same errors when I soft flash CWMR, just in a slightly different order.

"E:Can't mount /cache/recovery/command

E:Can't open /dev/block/platform/sdhci-tegra.3/by-name/MSC

(No such file or directory)

E:Can't mount /cache/recovery/log

E:Can't open /cache/recovery/log

E:Can't mount /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

E:Can't open /dev/block/platform/sdhci-tegra.3/by-name/MSC

(No such file or directory)"

Through research, I found out that the cache errors are appearing because I haven't fully been able to boot my device. Could the "E:Can't open /dev/block/platform/sdhci-tegra.3/by-name/MSC" be the problem? I'm running out of ideas and patience!
[Nexus 7 Q&A, Help & Troubleshooting] jt.one:
so what are you trying to do now? flash a rom to at least get into desktop?

if you using CWMR, just boot into recovery and adb sideload a rom
[Nexus 7 Q&A, Help & Troubleshooting] k91191:
Yeah, I'm just trying to get out of this bootloop. And I just tried sideloading 2 different roms in CWMR. Got the same error as before both times.

">> INSTALLATION IN PROGRESS <<

E:Error in /tmp/update.zip

(Status 0)

Installation aborted

E:Can't mount /cache/recovery/log

E:Can't open /cache/recovery/log

E:Can't mount /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

E:Can't open /dev/block/platform/sdhci-tegra.3/by-name/MSC

(No such file or directory)"
[Nexus 7 Q&A, Help & Troubleshooting] k91191:
It seems like my "E:Can't open /dev/block/platform/sdhci-tegra.3/by-name/MSC" is originating from /misc

More specifically, the MSC apparently relates to bootloader commands and other misc stuff.

Is my Nexus 7 boned?
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
To my knowledge MSC is never mounted and never contained a valid file system.

It might be used as part of the BCB (Boot Control Block) by the bootloader, but it isn't obvious to me why the custom recovery would be trying to *read* it. Write it - OK, maybe (reboot instructions).

How about

fastboot erase cache
fastboot format cache
fastboot erase system
fastboot format system

followed by a ROM flash?

[Edit] After further consideration, it is a bit odd that the recovery is claiming that the MSC raw device does not exist - that should be plumbed into the device tree after the kernel reads the emmc partition table during kernel initialization.

The weird thing is that if the partition table was borked (missing misc partition), I'm not sure that the bootloader would even behave correctly.

If you can get an adb shell to the custom recovery, you might try to get a kernel log immediately after booting, e.g.

adb shell cat /proc/kmsg > kmsg.text

or

adb shell dmesg > dmesg.text

and see if the kernel is having trouble reading the partition table (iirc the log enumerates all found partitions)
[Nexus 7 Q&A, Help & Troubleshooting] LamqtaSpas:
Have you succeed ?

Hi k91191,

Have you manage to bring back to live you phone because I managed to kill mine (ZTE V985 Tegra 3 device) and the error is the same ?
[Nexus 7 Q&A, Help & Troubleshooting] k91191:
:cyclops:

Unfortunately not. I'm bringing this topic back up from the dead hoping someone can help me.
[Samsung Galaxy SL i9003] gur-i:
Hi Guys,

I am relatively new to Android deelopment and am in learning stage .

I was wondering if any of u are interested on Ubuntu Touch ? I many people are , i was thinking of porting it for our device; Though i need a lot of help and <This will be my first port ever> So Really a LOT OF HELP :)

Being based on CM10.1 i guess we should be able to use 3.08 Kernal :) :)

Kindly let me know if you guys are interested :)

:: and it will be helpful if you can post some links to learn Awesome Developer Stuff <porting :) > :)
[Samsung Galaxy SL i9003] arindammanidas:
David Rodero is working on an Ubuntu Touch build... you can find his thread in the general section.

Sent from my Huawei Ascend Y300!
[Samsung Galaxy SL i9003] gur-i:
Thanks.. I will P.M. Him :)

Mean while, u can help me out with learning all about compilation and porting ROMS :)

Thanks :D :)
[Samsung Galaxy SL i9003] arindammanidas:
For ROMs , lolation would be a better guy

.. I'm not so much into custom ROMs. Mostly a kernel guy. :)

Sent from my Huawei Ascend Y300!
[Galaxy Note II Q&A, Help & Troubleshooting] biecp008:
I booted into download mode to check and see status in download mode is 'Official'

Now how do I get out of download mode without pulling the battery? Is that possible?

Thanks
[Galaxy Note II Q&A, Help & Troubleshooting] Angelz121:
On screen says how using volume button or just hold power

Sent from my GT-N7105 using Xparent Blue Tapatalk 2
[Galaxy Note II Q&A, Help & Troubleshooting] bearusa:
Hold power button in. It will then reboot itself..

sent from my R800i Xperia play with xda premium.. that is all..
[Android Q&A, Help & Troubleshooting] i3mFreak:
Hey, i dont know if its the right forum but..

so i was working and phone worked perfectly then i clicked on power button and screen wont turn on.(iocean x7)

touch and android works(i hear lock screen and light works and home button too and i can get calls.)

btw i tried to control the phone from pc with MyMobiler and androidscreencast and i failed any help?
[Galaxy S 4 Q&A, Help & Troubleshooting] henrik.dk:
Micro USB to HDMI for s4

below one is cable only

http://www.amazon.co.uk/HDMI-Adapto...Micro+USB+to+HDMI+1080P+HDTV+Adapter+Cable+s4

below one has power source.

http://www.amazon.co.uk/Samsung-ET-...Micro+USB+to+HDMI+1080P+HDTV+Adapter+Cable+s4

What is the difference? Is the power source for the second one used to power supply the phone to extend video play time?

Thanks.
[Galaxy S 4 Q&A, Help & Troubleshooting] ultramag69:
MHL/HDMI Adaptor for Samsung Galaxy S4 S3 Note 2 - comes with usb cable to plug into power source (generally the TV itself) as well as the HDMI adaptor to plug into the TV.

Samsung ET-H10FAUWESTA Micro USB to HDMI 1080P HDTV Adapter Cable for Samsung Galaxy S3/S4 and Note 2- White - doesn't supply the usb cable to connect to the TV BUT still needs it. It uses a micro USB to USB cable - the same that you use to connect to a PC or your charger... You also needa HDMI cable to plug into the box and TV...

Other than that it's just price...
[Galaxy S 4 Q&A, Help & Troubleshooting] henrik.dk:
aha, If I understand correctly, the first one is a complete set that usb/hdmi connected to tv and micro usb to phone.

The second one, i will need to have another usb2micro cable.

Dammed it, from the description of the product, seems like the one with more options. Indeed it is not.

Thanks for clarify it.
[Galaxy S 4 Q&A, Help & Troubleshooting] ultramag69:
Its always good to do a little searching on these things, here's a link to the 2nd adaptor again at almost half the price of the one you linked to - http://www.amazon.co.uk/Samsung-Galaxy-S4-HDTV-Adapter/dp/B00BTCPQ5C/ref=pd_sim_sbs_ce_1

And here's your link - http://www.amazon.co.uk/Samsung-ET-...Micro+USB+to+HDMI+1080P+HDTV+Adapter+Cable+s4

Can you spot the difference?
[Galaxy S 4 Q&A, Help & Troubleshooting] henrik.dk:
The difference is that the product in my link got no buyer:)

thanks for the information. Likely I will go for cable solution
[Android Q&A, Help & Troubleshooting] gimhana:
my friend came to me with a i touch m703(allwinner a13) tab.the fault is somtimes it stuck on android logo.soo then power of and restart it works well.after doing something it stuck again.so i tried flash it 7 times using live suit and pheonix cad.i have downloaded many roms.the only one flashing is firmware Allwinner A13 lenoxx tb-50 !!! it flash fine.others fail to flash using pheonux card.after flashing >> power on tab >> stuck on booting android logo.but when it connect to the pc using data cable after few seconds it is power on successly.but touch screen no working.when data cable disconnected stucks on logo again.i am fedup of this tab flashing.plz tell me what to do.

before the first time flash i wrote drown informations

model-mid

(but in back cover it says model m703)

baseband version-1.5.2

deverloper options- ASXW-022T-704L-0

android version-4.0.4

after flashing that rom i found this info by using mtkdroid tools

sun5i

nuclear_pfdq88_eng

utc dat 20120801-015944

hey gays plz help me give me a right firnware and tell me what to do
[Android Q&A, Help & Troubleshooting] gimhana:
no rply????

plzzz help me guysss
[MDA III, XDA III, PDA2k, 9090 General] htvi:
just get a mda3 with a problem

sometimes when i switching the phone on (power button) the backlight is working but the screen remains black so i can't se anything. the phone is working, i can browse the folders, i hear all the sounds but the screen remains black! after a while hes working again.

does anybody had the same problem? and how can i solve the problem?((((
[MDA III, XDA III, PDA2k, 9090 General] joey jojo:
have u tried a hard reset? ive never had this problem so i dont know, tho i guess if u sync with pc and save all all your wanted files and do a hard reset, it may sort it.
[MDA III, XDA III, PDA2k, 9090 General] htvi:
i've already tried hard reset, rom updating etc...

the problem is still there...((

i've switch "turn off the phone after 3 minutes" off, maybe it would help...

because problem was appearing most of the time if device was lying for 10-20 minutes without working...

update: nope, it's still black(
[MDA III, XDA III, PDA2k, 9090 General] HDuser:
Think you have a bad device. A problem that is know is that the backlight will turn itself of (but you can still see the screen). This is some times the case with mine and I have the 1.40 rom, however I have had this problem with other roms so it must be some software that I use.
[MDA III, XDA III, PDA2k, 9090 General] htvi:
i'm also thinking so...

now i noticed that if you turn the device on and get a black screen, if you wait a minute he will switch the screen on. but why?
[Android Q&A, Help & Troubleshooting] omgmyphone:
My phone is bricked goddamit help me please.You mean ****ers.:mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad:
[Android Q&A, Help & Troubleshooting] DecypherT:
Riiiight... Some info about what you did would be handy...

Send from my Nexus 4
[Sony Ericsson Xperia Neo, Pro] Lynx93:
So I rooted my Xperia Neo V which was running on ICS by following the complete noob's guide here. After doing that, I wanted to install a custom rom (Jellybean) and kernel, however, I screwed up at this part. I only flashed the boot file of the rom without the kernel and after I was through with it, unplugged the data cable from my PC and started the phone. Now it boots up but all I can see is a black/bluish screen and a purple LED indicator at the start for a few secs. Can't even see any logo. It still goes into the flashboot mode when i connect it to the PC but I can't see anything on the screen, only the blue LED indicator. Has it been bricked or is there a way to revert to previous settings? I have the backup in my PC.
[Sony Ericsson Xperia Neo, Pro] KamilSramil:
Blue led indicates it's in the fastboot mode - you can flash your kernel form there, then install ROM
[Sony Ericsson Xperia Neo, Pro] paras.arora:
You have the rom in your phone just fastboot flash the kernel using cmd as your phone is showing blue led that means you can flash kernel once you flash it, your phone will boot up normally.

The kernel you should use is that present in the zip file.

Hit "Thanks" if i helped.
[Sony Ericsson Xperia Neo, Pro] sagar.andro:
u trying to install Jellybean rom

1st - tell us u unlock ur bootloader ???

use CWM and Restore android backup ......

if no android backup then use flashtool and flash ics ....

OR

use SEUS
[One (M7) Q&A, Help & Troubleshooting] asidscript:
Hello everyone,

This is my first post, I am trying to abide by the regulations of this forum. If I make an error please don't trip out, but let me know.

I have a HTC One M7 Phone,

It Is running Jellybean android.

I have discovered twice now that if you encrypt the phone, the option to have a pattern lock is removed and grayed out, Your forced to choose another lock method, in my case a PIN.

The only way I have managed to resolve this is by decrypting the phone, This phone can only be Decrypted via a factory reset.

I have tried again now. Phone is encrypted, and again I have been forced to change my login method, And the option to choose pattern lock is Grayed out.

I have contacted HTC Support regarding this issue and unfortunately they are unable to understand my question correctly.

I would greatly appreciate any assistance anyone can give regarding how I can have an encrypted phone with a pattern lock.

Kind Regards

Daniel
[Sony Ericsson Xperia Neo, Pro] mopiaty:
Hi Guys,

I use SUPER JELLY BEAN v5.5 custom rom on my Sony Xperia NeoV (from this topic http://xdaforums.com/showthread.php?t=2108632&page=188 ).

It is a rom based on CM.

But there is no DLNA app. I've checked many apps from play.google, but I don't like them. The best app I've used was in a stock rom, but it is impossible to find it in play.google. I found this app in some Xperia Z rom, but it was incompatibile with my current rom.

How to find a good (stock SONY) DLNA app?

Regards

mopiaty
[Sony Ericsson Xperia Neo, Pro] deccan451:
Dlna, hdmi only work on stock Rom
[Other Tools & General Discussion] Vikashshah:
Hi to all

I heart about mobile game help offers by FaceBook but I want to know to relevant professional about such type of news. If this type of news is true then what we can get or help from facebook. please summaries your answer. I will appreciate your suggestion or idea.

Thanks