|
I need a Linux/UNIX expert to help me with a backup script problem in CM10.1. I have set up a script to backup/restore one file and remove a whole bunch of system apps I neither need nor want. The file I'm trying to preserve is /sys/module/bcmdhd/parameters/wifi_pm (no extension). I made the script as directed and the removing works great but the backup/restore doesn't happen. I think (and I could be wrong) that the problem is with the permissions level of the file I'm trying to restore which is 311. The reason I think this is the problem is that when I try to manually edit the file in the ESv3 beta it fails to save it and when I try it in the ES it saves fine. The ESv3 beta doesn't have a way to alter permissions so it would seem to me that there's where the problem lies. Does anyone know if the script could be made to change the permissions on the file before attempting to restore it (if that's indeed the case)? For reference the backup script is here and you put it into /system/addon.d to make it work when you flash a nightly.
|
# ? Jan 12, 2013 12:14 |
|
|
# ? May 28, 2024 05:40 |
|
LastInLine posted:The file I'm trying to preserve is /sys/module/bcmdhd/parameters/wifi_pm (no extension). I'm guessing you really want a script that pokes that value on every boot.
|
# ? Jan 12, 2013 18:37 |
|
ExcessBLarg! posted:That's not really a file, but an exported kernel module parameter. The issue is that it's "content" (parameter value) is ephemeral anyways and will reset on reboot.
|
# ? Jan 12, 2013 19:31 |
|
Tunga posted:I flashed Franco kernel to my N7 and wow, what a lovely outcome. Mobile signal is dead, completely. Not just data, the whole signal. And all games are jittery lagfests. It's pretty weird because on my N4 his kernel is way better than stock. Qh well, back to the factory image. Franco's kernels aren't good for gaming from what I've read. Quick question: Does anyone know what exactly a tool chain is? and what Linaro is? Like when roms/kernels advertise linaro. Does it actually mean anything or is it one of those buzzwords people throw around.
|
# ? Jan 12, 2013 19:52 |
|
KeviNguyen posted:Franco's kernels aren't good for gaming from what I've read. The Wikipedia link will enlighten you further: https://en.wikipedia.org/wiki/Linaro vvvvvv Someone else will have to answer that. I don't know. LiquidRain fucked around with this message at 20:44 on Jan 12, 2013 |
# ? Jan 12, 2013 20:07 |
|
So theoretically things that are compiled using the linaro tool chain should be faster, but is it something noticeable in real world usage?
|
# ? Jan 12, 2013 20:24 |
|
KeviNguyen posted:So theoretically things that are compiled using the linaro tool chain should be faster, but is it something noticeable in real world usage? The Linaro folks would probably convince you it's faster. My opinion is that, if it was really worth it, then AOSP would've included them by now.
|
# ? Jan 12, 2013 23:08 |
|
Anyone have a quick link on how to return a Evo3d to stock? I've had a lot of problems with it lately, but half the links I hit seem ridiculous or outdated so I haven't gone through with any of them.
|
# ? Jan 13, 2013 17:50 |
|
In other Evo 3D questions, I'm running CM10 on mine, with great success until I woke up this morning to "Storage Space Running Out." Seems off considering I've got 230MB in apps and app data on a 1.1GB partition, and it was claiming I only had 23MB free. Clearing about 150MB of data and cache moved that all the way to 33MB free. Then my system froze, I restarted, and it's showing 28. Wtc. Any ideas/what can I do?
|
# ? Jan 13, 2013 17:57 |
|
CM10.1 users, in particular those of you running it on the Galaxy Nexus: Has anyone been having a process called ClassActionFursuit fucked around with this message at 23:32 on Jan 13, 2013 |
# ? Jan 13, 2013 23:22 |
|
Check if Download Manager has been disabled under Settings -> Apps.
|
# ? Jan 13, 2013 23:29 |
|
Tunga posted:Check if Download Manager has been disabled under Settings -> Apps. One other thing I just discovered: Going to Settings > Developer Options > Launch Tools, clicking Google Login Service causes Dev Tools to FC. Same thing with Sync Tester. ClassActionFursuit fucked around with this message at 23:41 on Jan 13, 2013 |
# ? Jan 13, 2013 23:35 |
|
Did you definitely flash the correct GApps package? Or did you restore data for anything Google/system related?
|
# ? Jan 13, 2013 23:41 |
|
Tunga posted:Did you definitely flash the correct GApps package? Or did you restore data for anything Google/system related?
|
# ? Jan 13, 2013 23:46 |
|
Nur_Neerg posted:In other Evo 3D questions, I'm running CM10 on mine, with great success until I woke up this morning to "Storage Space Running Out." Seems off considering I've got 230MB in apps and app data on a 1.1GB partition, and it was claiming I only had 23MB free. Clearing about 150MB of data and cache moved that all the way to 33MB free. Then my system froze, I restarted, and it's showing 28. Wtc. Any ideas/what can I do? Apparently with a lot of CM10-based roms out there, wimax logs don't get cleared for some reason resulting in it slowly eating all of your space.
|
# ? Jan 14, 2013 02:20 |
|
mastershakeman posted:Anyone have a quick link on how to return a Evo3d to stock? I've had a lot of problems with it lately, but half the links I hit seem ridiculous or outdated so I haven't gone through with any of them. Use an RUU http://shipped-roms.com/index.php?category=android&model=Shooter To use an RUU via HBOOT, grab the ZIP version of 2.17 or if you want to take the slightly easier route and do it from a Windows PC, grab the EXE version. RUU's will give the phone a complete reimage to factory state.
|
# ? Jan 14, 2013 03:30 |
|
ProjektorBoy posted:Use an RUU Just grab the top one? I don't know how to differentiate them all.
|
# ? Jan 14, 2013 04:35 |
|
mastershakeman posted:Just grab the top one? I don't know how to differentiate them all. They're labeled with the version numbers. Highest = newest so 2.17.651.5 is the one you should get. Here's the link to the EXE version. It should contain a step-by-step guide to walk you through reflashing the phone. http://shipped-roms.com/download.ph...3304_signed.exe However, since you've probably unlocked your bootloader, you'll have to connect it to a PC with fastboot and then perform 'fastoot oem lock' on it so it'll take the RUU
|
# ? Jan 14, 2013 12:46 |
|
I rewiped everything (including formatting /system and /data, which I didn't do before) and put on the latest nightly of CM10.1 plus GApps and got the same problem: crashes of com.google.process.gapps and Settings > Developer Options > Launch Tools > Google Login Service and Sync Tester both cause Settings to FC. Can anyone with a Maguro running CM10.1 verify that those two options in Launch Tools cause a FC? That's a package unique to the Maguro.
|
# ? Jan 14, 2013 16:23 |
|
Verizon GNEX checking in, I haven't looked at this thread in months, since I did a CM10 nightly upgrade in the end of October. It was super stable so I was hesitant to mess with it but got bored and went with a recent nightly and put on 10.1. Lots of nice new features, new GApps especially. Runs decently smooth and stable so far. I'm running Francokernel, any other recommendations on the kernel? I could only install the last nightly from the Franco app, not a stable version-- I don't know which one runs the best for it.
|
# ? Jan 14, 2013 17:07 |
|
ProjektorBoy posted:They're labeled with the version numbers. Highest = newest so 2.17.651.5 is the one you should get. Ah, that's the problem I must've been running into. Thanks, I'll work on this more tonight.
|
# ? Jan 14, 2013 18:37 |
|
LastInLine posted:I rewiped everything (including formatting /system and /data, which I didn't do before) and put on the latest nightly of CM10.1 plus GApps and got the same problem: crashes of com.google.process.gapps and Settings > Developer Options > Launch Tools > Google Login Service and Sync Tester both cause Settings to FC. Both the Launch tools cause a FC for me. Maguro running nightly 20130109, gapps-jb-20121212. However, I do not have any issue with com.google.process.gapps.
|
# ? Jan 14, 2013 22:01 |
|
ExcessBLarg! posted:Because some apps that write to internal storage use "/sdcard", others use "/mnt/sdcard", others yet may use "/storage/sdcard0", and Android has to maintain all of them for backwards compatibility. I will leave it alone, however will continue being a little bit annoyed about the mess apps make when creating directories willy nilly. I wish there would be one place for app related data and things looked nice and organised in a file manager.
|
# ? Jan 15, 2013 02:26 |
|
deong posted:Both the Launch tools cause a FC for me. Maguro running nightly 20130109, gapps-jb-20121212. I'm going to keep working on it but thanks for letting me know that those not working aren't an indicator I did something wrong.
|
# ? Jan 15, 2013 12:18 |
|
FlyingCheese posted:Apparently with a lot of CM10-based roms out there, wimax logs don't get cleared for some reason resulting in it slowly eating all of your space. Well that makes complete sense. Thanks. Now I just have to figure out why I'm not longer receiving texts to my handset =P
|
# ? Jan 15, 2013 18:04 |
|
FWIW gapps 20121212 is pretty broken. Some of the apks are build wrong as anything in the "res/raw/" directory needs to be stored uncompress so they can be mmap'd straight from the apk. An example is QuickSearchBox.apk, which, if you try to use "Voice Search" will crash on you since it can't open "res/raw/open.wav". Voice Dialer is also hosed, although I'm not certain if it's the same reason. That said, the problems go away if you download Play Store updates for any of the broken apks, since the Store versions will be used instead. Which is why folks haven't necessarily noticed the issues except on fresh installs. Not sure if it's related to Maguro problems, but it wouldn't surprise me.
|
# ? Jan 15, 2013 18:06 |
|
ExcessBLarg! posted:FWIW gapps 20121212 is pretty broken. Some of the apks are build wrong as anything in the "res/raw/" directory needs to be stored uncompress so they can be mmap'd straight from the apk.
|
# ? Jan 15, 2013 18:20 |
|
ExcessBLarg! posted:FWIW gapps 20121212 is pretty broken. Some of the apks are build wrong as anything in the "res/raw/" directory needs to be stored uncompress so they can be mmap'd straight from the apk. An example is QuickSearchBox.apk, which, if you try to use "Voice Search" will crash on you since it can't open "res/raw/open.wav". Voice Dialer is also hosed, although I'm not certain if it's the same reason.
|
# ? Jan 15, 2013 18:25 |
|
Tunga posted:Is there a fix for this, or a way to get the proper versions? I'm planning to try CM this weekend but I'm not going to bother if this poo poo is broken. Yeah, just update those apps in the market right after install. It's fine.
|
# ? Jan 15, 2013 18:45 |
|
FlyingCheese posted:Yeah, just update those apps in the market right after install. It's fine.
|
# ? Jan 15, 2013 19:32 |
|
ExcessBLarg! posted:FWIW gapps 20121212 is pretty broken. Some of the apks are build wrong as anything in the "res/raw/" directory needs to be stored uncompress so they can be mmap'd straight from the apk. An example is QuickSearchBox.apk, which, if you try to use "Voice Search" will crash on you since it can't open "res/raw/open.wav". Voice Dialer is also hosed, although I'm not certain if it's the same reason. LastInLine posted:QuickSearchBox works fine for me but Voice Dialer is definitely broken. I never actually use voice actions often, but trying to load up Voice Dialer it just says starting up..., and yea. What is voice search? Is that part of the google now voice search? That works if so. I do have all the market updates for what its worth.
|
# ? Jan 15, 2013 21:34 |
|
I just got a repaired Nexus 4 back from LG. The model number says "Full JellyBean on Mako." The Build Number is "full_mako-userdebug 4.2 LGEP19 eng.seungju24.choi.20121114.105751 test-keys" Obviously they screwed up and didn't flash the phone back to stock before shipping it back to me. It generally works but it's slow, glitchy, and isn't what I bought from Google. I have never rooted a phone before and went with the Nexus 4 in hopes that I wouldn't have to learn what XDA makes out to be a tough process. They say it's super easy for Nexus owners, but then link to different programs and drivers and reference command line prompts and I would prefer not to bumble around for 2 hours. Would any of you kind folks be able to relay some simple, "idiot's guide" instructions on exactly what I'm supposed to be doing?
|
# ? Jan 16, 2013 05:02 |
|
Judge Schnoopy posted:I just got a repaired Nexus 4 back from LG. The model number says "Full JellyBean on Mako." The Build Number is "full_mako-userdebug 4.2 LGEP19 eng.seungju24.choi.20121114.105751 test-keys" This toolkit is pretty straight forward: http://forum.xda-developers.com/showthread.php?t=1995688
|
# ? Jan 16, 2013 05:16 |
|
KeviNguyen posted:This toolkit is pretty straight forward: http://forum.xda-developers.com/showthread.php?t=1995688 The issue is that it is trying to grab the stock android ROM from google, but google has taken it down. I can't flash stock using this program. Is there an older version I can flash that will allow Google to push the 4.2 update to the phone?
|
# ? Jan 16, 2013 05:32 |
|
I remember a custom recovery had an option to mount storage to USB while in recovery a while ago; I don't think it's possible with CWM Touch recovery, but is it possible with TWRP? This is very useful for when I remember to add one more thing to flash only after doing a full wipe.
|
# ? Jan 16, 2013 09:04 |
|
Judge Schnoopy posted:The issue is that it is trying to grab the stock android ROM from google, but google has taken it down. I can't flash stock using this program. Here is 4.2 Here is 4.2.1 Download either, extract all the files from either zip into a folder. Configure adb if you haven't already, otherwise execute the flash-all.bat in either folder.
|
# ? Jan 16, 2013 09:59 |
|
SeaborneClink posted:Here is 4.2 In case you need more instructions than this, and want to learn something in the process... So the good news is that you have a Nexus device, which means it is super easy to flash a ROM to it (and also to root and other stuff but you don't care about that right now). The steps required are: 1) Unlock the bootloader 2) Flash the stock ROM 3) Relock the bootloader (optional). There are two main ways to achieve these steps. The first is to use one of several "one-click" tools, such as the one linked above. Those work okay, mostly, and obfuscate the details from you. When they work they are nice and save you having to know what you are doing. When they fail they are frustrating because you have no idea why they aren't working. The second option is the manual method. This really isn't as scary as some places make it sound and it also gives you a better understanding of what you are doing and what else is possible. I keep meaning to get around to writing a really good guide to this, with screenshots, because it comes up a lot and I'm yet to find any guide that gets it across in a clear and simple way. I'm not joking when I say that the most difficult part is getting the right USB driver to install. Going to copy this part from a previous post: Tunga posted:Install the Android-SDK from here. You'll end up with a Window asking which components to install, you'll need Platform Tools and the Google USB Driver (under Extras), ignore everything else. Grab that factory image that someone linked, in that zip there should be a .img file with JOP40D in the name. It'll be biggish too. That's the ROM that you need in the second step below so put it somewhere with an easy path (or throw it directly into platform-tools folder). Now unlock: code:
Now flash: code:
code:
Ask if you get stuck with anything. Like I said, the toolkits work too but I'm on a mission to educate people about how easy this stuff is. If you use a Linux box you don't even need to set the driver up and it's genuinely like a two minute job.
|
# ? Jan 16, 2013 10:51 |
|
Judge Schnoopy posted:The issue is that it is trying to grab the stock android ROM from google, but google has taken it down. I can't flash stock using this program. -------------- I think I figured out my CM10.1 gapps problem. It was because I restored bookmarks in the stock browser with Titanium. I cleared cache and data in the browser and all seems well after a day of heavy use. Now if only CM10.1 would start filling in the features.
|
# ? Jan 16, 2013 11:14 |
|
On a related note, have Google ever said why the N4 factory image disappeared? I remember someone (Matias?) making some cryptic comment about it but it's all a bit ridiculous really. They had better post 4.2.2 when it hits.
|
# ? Jan 16, 2013 11:20 |
|
|
# ? May 28, 2024 05:40 |
|
Tunga posted:On a related note, have Google ever said why the N4 factory image disappeared? I remember someone (Matias?) making some cryptic comment about it but it's all a bit ridiculous really. They had better post 4.2.2 when it hits. Bear in mind that T-Mobile's LTE network is launching in a few months on the same band.
|
# ? Jan 16, 2013 11:34 |