yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] topifone:
I don't want to use Mkernel but I want to use zRam, what can I do?
[Nexus 7 Android Development] y0brando:
sent uuuuhttps://www.youtube.com/watch?v=Y7F_-5HPE3w&feature=youtube_gdata_player from my paranoid 7
[Nexus 7 Android Development] stonebear:
Use Bricked kernel, it has the option for it in the installer. :)
[Nexus 7 Android Development] Juzman:
I set zRAM to 64. Running 'free' outputs:

total used free shared buffers

Mem: 996852 983848 13004 0 80148

-/+ buffers: 903700 93152

Swap: 0 0 0

I see numbers, but all zeros. Is this correct? Busybox is in /system/xbin.
[Nexus 7 Android Development] MrDrift42:
No it is not working.
[Nexus 7 Android Development] Juzman:
Hmm, after I boot I run

/system/xbin/busybox mkswap /dev/block/zram0

/system/xbin/busybox swapon /dev/block/zram0

In terminal and get swap, weird its not working from init.d

Edit: Fixed. I was running CM10, but flashed Nexus7_CM10_PA22_4.1.2_complete the M-Kernel, and all seemed to be working. Didn't think I needed to flash the first one, but yay. All working. :)
[Nexus 7 Android Development] MrDrift42:
Mine wasn't loading like that with PA2.50 and following that to the letter fixed it.
[Nexus 7 Android Development] brianpee:
Because PA is CM based.
[Nexus 7 Android Development] MrDrift42:
His signature says he's running cm10, that's why I posted that...
[Nexus 7 Android Development] Juzman:
Okay, so I have init.d working now. My issue is the cpu_max_scaling not applying

This works (running from same script).

# CPU undervolt by -100mV
echo "1137 1112 1100 1075 1050 1025 1000 975 950 925 900 875 812 800 775 750 725 700 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

Also zRam is being applied now. However, these don't get applied (CPU is at 1500mhz).

echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "1000000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo "1000000" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo "1000000" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

Yet the minimum of 100Mhz applies, and so does the governor. I even tried with System Tuner, setting CPU to 1Ghz, and applying via init.d with same issue.
[Nexus 7 Android Development] rootbrain:
Those values in the echo "1000000" are 1000mhz, not 1500mhz. If you are using System Tuner, remove the 99pmwcpu script in etc/init.d, then go into System Tuner and reset to 1500. Make sure you have boot settings for SD tweak and Cpu settings for init.d (re-apply). It should create a new 99pmwcpu script
[Nexus 7 Android Development] Juzman:
I did remove my init.d script, used System Tuner, set max CPU to 1Ghz (1000000) but in the max_frequency it is always 1500000. It's like just that part doesn't get applied, which I don't understand.
[Nexus 7 Android Development] PATRICKismyHERO:
I liked this tweak for the time it worked on Paranoid Android, but it gave my Nexus 7 too much sound glitches and so I got over it and installed a different kernel.
[Nexus 7 Android Development] Jay Aristide:
It's a kernel issue. To make max frequency stick with system tuner, you have to use the 'on boot completed' option.
[Nexus 7 Android Development] Juzman:
Or just set it in the performance settings. :)
[Nexus 7 Android Development] rootbrain:
I don't have "settings- >performance" Must be a ROM thing. I'm on stock. System Tuner works fine for me. Just a glitch.

Rootbrain
[Nexus 7 Android Development] rootbrain:
Jay, the camera and camcorder apps just force close now. Using the modaco camera launcher and camcorder shortcut by Bryan Adams in the market.

Rootbrain
[Nexus 7 Android Development] Jay Aristide:
Did you uninstal the gallery by any chance? If you did uninstal your 3rd party camera apps and reinstall gallery/gapps if necessary. You will then have a proper camera shortcut. Uninstalling gallery kills the camera.
[Nexus 7 Android Development] littleguevara:
Im running PA 2.52 last night and dirty flashed 2.53 today, i created userinit.d in data/local/ and pasted the selected script there. Then changed permissions on both folder and file to rwx r-x r-x...

It does seem snappier but im using the one without zRam, how would i verify its working? "Free" in terminal returns me with 0s and im not sure what to else to look for

Thanks

Edit: Used the cmbased instructions btw
[Nexus 7 Android Development] rootbrain:
Ooops. Duh.:cyclops::cyclops:
[Nexus 7 Android Development] MaddMan420:
I'm on AOKP Milestone 1, followed the CM10 based instructions using the 128 script, but still getting zeros in swap. Went through the pages but didn't see anyone using official AOKP. Any ideas?
[Nexus 7 Android Development] denimjunkie82:
Hey guys, I'm having trouble with the "chmod to 0755" step.

When I try to set permissions in root explorer, I get the message "Permissions chance was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes.

When I try to chmod within adb shell, I get a similar message, "operation not permitted".

Any ideas?

Thanks
[Nexus 7 Android Development] rootbrain:
Check 1st page. Look for the line with grep discard in it under "verifying installation "

Rootbrain

---------- Post added at 01:46 AM ---------- Previous post was at 01:04 AM ----------

Should be 755 not 0755. Try changing /etc/init.d and not /system/etc/init.d

Rootbrain
[Nexus 7 Android Development] Gugus38:
Can anyone explain me how to use this with Franco kernel?

As soon as i install franco kernel, swap goes back to 0...
[Nexus 7 Android Development] krazeecracker:
Do I need to reapply after updating kernel?
[Nexus 7 Android Development] Jay Aristide:
Update 11/10/2012

As of M-Kernel Plus a6, Metallice compiles his own universally-compatible ramdisk. Therefore, you don't have to pre-flash any other kernel or ramdisk to get init.d/proper kernel support.

This is advantageous to you because the ramdisk is custom-tailored to your kernel.

I've updated the second post with this info and will update the OP soon.
[Nexus 7 Android Development] rootbrain:
I've stopped with kernel flashing for now, just going to hang tight and wait a couple of days (few) for the 4.2 release. Posted on Metallice thread to see if he had plans/timeline to begin the M-Kernel with the 4.2 source when available. He's pretty overwhelmed maybe, but no response. Will just be checking in to see how quickly ROM's, kernals and other mods are brought up to that update.

Thanks for all your work Jay.
[Nexus 7 Android Development] ryanrudolf:
are you rooted? are you running root explorer with root access? also when using adb, did you try su first to have root access?
[Nexus 7 Android Development] Kearkan:
Jay I know you've been running 4.2 for a bit, but personally I'm just going to wait for the pa update, but for when I do, does this script still have a use? Does it still make a difference to things in 4.2?
[Nexus 7 Android Development] bcvictory:
It's the same method for 4.2 correct with a13> instead?
[Nexus 7 Android Development] Jay Aristide:
Yes :) Been running it with a13 all day.
[Nexus 7 Android Development] doublin:
I have a problem.My N7 is stuck at boot logo.

This is the order of the steps I took:

I installed PA 2.54 and gapps and all was looking fine.

Rebooted in Recovery.

Flashed Nexus7_CM10_PA22_4.1.2_complete.zip and fixed permissions.

Flashed M-Kernel Plus a13 446/620 and fixed permissions.

Rebooted and stuck at PA booting screen.

What am I missing?

EDIT:I think I found the reason.Correct me if it's wrong please.

M-Kernel Plus a13 is for 4.2 build?

Since the PA that I installed is PA 2.54 which is 4.1.2 build, I was suppose to flash the M-Kernel Plus a11 ? :/
[Nexus 7 Android Development] sadde:
Hi , can i use the secretsauce 4.1.2 script for M13+ + PA2.99? thanks for everything
[Nexus 7 Android Development] Jay Aristide:
Yes. Beginning with a13, m-kernel's ramdisk is 4.2

Also, you don't need the cm10 pa zip anymore, as the kernel you want to flash, a12, has it's own pa-compatible ramdisk

Sure can :) Remember to set permissions on init.d when you create it.
[Nexus 7 Android Development] morganmf:
So to be sure, if i'm on PA2.54 I use M-Kernel a11 - Last 4.1.2 version, is it right?

a12 and a13 are for 4.2 as far as I reckon..
[Nexus 7 Android Development] doublin:
Correct.

I eventually flashed a11 and everything works right.

I still encountered a problem now.

I had Chrome opened and ttorent opened too,downloading at 2 mpbs.

When I turned the screen off to see if the DL speed will drop (I included in the 85SecretSausage64 a line for WIFI PM_FAST), then after a couple of seconds I turned it on, it wasn't working. It wasn't turning on for some reason,so I rebooted and thought maybe it's because my min. CPU freq. is set at 100 . Went in System Tunner and I couldn't set my min freq. to 200.When I was dragging the slider the next step at which was jumping after 100,was 500 or 550.

How come?

And do you think the min.freq. was the problem for what was happening?

Or maybe because I have only 64 Zram?I had only two tasks running.
[Nexus 7 Android Development] LINKSLOVESANDROID:
hello. prolly a stupid question, but where should init.d be in pa2.99b5? busybox is installed, in systen\xbin. would there be a change in location to init.d? just cant seem to find the final and want to make sure i create 1 in the right area
[Nexus 7 Android Development] MrDrift42:
/system/etc/init.d/
[Nexus 7 Android Development] jnehama:
I cannot get it to work on Rom Baked version 6. It is AOSP based. I have busybox, and data/local/userinit.d. Permissions are correct. Is it just not compatible with the Rom?
[Nexus 7 Android Development] Jay Aristide:
For AOSP based roms you need to put your script in /system/etc/init.d/
[Nexus 7 Android Development] ncvikingx97:
So this works just like 4.1.2, on 4.2.1? Just flash? Thanks

Sent from an AOSP , Rasbean'd Nexus 7
[Nexus 7 Android Development] jamesc760:
System tuner isn't compatible, instead use trickstermod.
[Nexus 7 Android Development] Jay Aristide:
You don't flash it, at all. You follow the directions in the OP, and yes, it works just fine, you just need to make sure you;re using a 4.2.1 kernel.

I use System Tuner and it's perfectly compatible. Don't give people wrong information, please. For what this script does, System Tuner works just fine.
[Nexus 7 Android Development] Awesoham:
But isn't M-Kernel part of the entire recipe?
[Nexus 7 Android Development] Jay Aristide:
I recommend M-Kernel, and System Tuner works with it. It just doesn't take advantage of all the tweakables in M-Kernel.

The script will work with most custom kernels,though :)
[Nexus 7 Android Development] Jay Aristide:
A couple of people have asked if this script is compatible with and relevant to Android 4.2/4.2.1

Yes, and yes. It is both compatible and relevant (and very beneficial) in the latest versions of Android, whether you use zRAM or not. All you need is a working busybox installation and a compatible kernel (any kernel with init.d, fsynccontrol & zRAM suppprt) to take full advantage :)

The OP has been updated to reflect current compatibility.
[Nexus 7 Android Development] Jay Aristide:
Thanks yourself for reminding me to update the thread :)
[Nexus 7 Android Development] Adinaky:
When I try to chmod a script it says that the file is read-only, what should I do ?

UPDATE: I sorted it out...
[Nexus 7 Android Development] Lillz:
So I have trinity kernel, stock ROM OC to 1.7ghz... I tried the first method of installing the 128mb script, but skipped the going to motley kernel since I already have trinity... The script gave me an error saying the locations didn't exist and I had 0mb of swap, but the second checker command seemed to work... My device also got very hot... What did I do wrong?
[Nexus 7 Android Development] Adinaky:
I have the SmoothROM and Metallice's M-Kernel, so I used the "[Stock, has init.d] Installing the Special Sauce script:", then the "[Common (except CM-based)] Install M-Kernel Plus" and it works very good. This one will work only if have init.d, and if you don't have it, use the "need init.d" one.
[Nexus 7 Android Development] Lillz:
So how do you change the script? I have PA 2.99 and tried to just delete the old one and add the new one but it remained the same in the swap memory (64 when I want to go to 128)
[Nexus 7 Android Development] Jay Aristide:
Did you reboot?
[Nexus 7 Android Development] Lillz:
Yes I rebooted, and chmod and everything. I even tried fixing perms again but still at 65532 for swap

Update: updated to the latest paranoid android rom and since I had to do it all over again anyways, I went to 128

.. Still be interesting to see what was going on...
[Nexus 7 Android Development] android1999:
Please help

Ok guys.

I used this for my Nexus 7 [4.1.2] and was working properly with awesome IO scores.

Then I upgrade to 4.2.1 (paranoid android 2.99 pie 1) and do the same thing but instead of using M-Kernel I used fraco_kernel r38.

After that My nexus got completely ****ted up with lower than stock performance.

I need to ask if this can be used with franco_kernel. If yes than please tell me the correct way to do it.

SORRY FOR MY NOOBNESS.

:confused::confused::confused::confused::confused::confused::confused::confused:
[Nexus 7 Android Development] poondog:
r38 doesn't support init.d

You'll have to try it with r41
[Nexus 7 Android Development] android1999:
Thanks am just upgrading to 4.2.1 and will try it out.

:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[HTC Sensation] clitoridys:
Hello :)

I'm with elegancia blitz rom and arhd , but i've noticed a battery drain on the ardh so i think to get back to elegancia.

The only thing is that the sound with beats on arhd is better (better bass & quality) idk why , and i want , if someone can help me to port the arhd beats drivers/lib to elegancia

Thanks and sorry for the noob questions :)
[HTC Sensation] donhashem.dh:
U can find a thread which installs beats audio ...search for it ...cz I've lost the link
[HTC Sensation] clitoridys:
I would like if someone can tell me the location of audio files , so i can move them to elegancia :confused:
[Android General] appapa1:
Here are the similar threads we found
[Samsung Galaxy Nexus] CrashV5:
Hi! I made a little and simple mod to reduce the dpi of the navbar, i used the tutorial of APatte111 http://xdaforums.com/showthread.php?t=1844878 so big thanks to him ;)

so i think to share the flashable zip i made for someone who wants to try the change ! :)

36 dpi in not a big difference than stock dpi so the buttons are easy to push like stock, but you gain a little more free screen

I made this mod for my gnex, stock odex 4.1.2, but the mod should works fine also for deodex version. The files that changes are framework-res and systemUI so if you have other mod (like battery modification) you'll lose it.

flash zip from recovery, remember to make a backup before try!

I upload also a restore flashable file, but i didn't try it, the mod work fine for me at first attempt ;)

bye!

*************************************

UPDATE 22-10 : add a 32DPI Navbar mod ;) flash from recovery

+++++++++++++++++++++++++

UPDATE 25-10 : as requested, added a 30 dpi and 24 dpi navbar ! :cool: ...24 dpi..extreme, but working ;)

##########################

UPDATE 30-10 : Big Update! new nav bar mods for deodex stock 4.1.2, i used the files from Bigxie stock rom so if you have this rom all should work fine, but i think that should work also on teshxx stock rom (need confirmation from someone who flash) so, if you are on stock deodex 4.1.2 try the new navbar mod you prefer! I also upload the restore stock deodex file, but i strongly recommend to make a nandroid before try!

...enjoy and, HIT that "thanks" button please :D

EDIT: ops...no files upload here!! i think i cannot post more than 5 files?? I'll edit my second post in this page, sorry, go down a little to find the files! or directly here
[Samsung Galaxy Nexus] jay661972:
Same here my friend but i did the 30dpi last night. the only problem i am getting the META-IF, i use the one from Universal Black Background mod. I want to make the META IF out of the bigxie rom but got bootloop when i did that.

I use this tutorial to decompile systemui and i use the modstorm tutorial for framewrok-res.apk. love these 2 tutorials.
[Samsung Galaxy Nexus] h@ns1976:
Thnx man working perfectly on my Nexus. :D

Can I ask for a favor? Could you make a rotationlock mod for stock 4.1.2 Rom. I tried it my self several times but without any luck. :banghead:

Here is a link to the thread

http://xdaforums.com/showthread.php?p=29179823
[Samsung Galaxy Nexus] Slevin2784:
Work on CM10?
[Samsung Galaxy Nexus] jay661972:
I dont think it will work. This is only stock.
[Samsung Galaxy Nexus] CrashV5:
New Navbar Mod for Deodex stock rom, based on Bigxie rom files

Enjoy and refer to my first post above for instructions!

and hit thanks button!!! ;)
[Samsung Galaxy Nexus] Enteffe:
Hi, do you can create a version at 32 DPI? Please :D
[Samsung Galaxy Nexus] CrashV5:
Mission complete!:D

hit Thanks button please!! :cool:
[Samsung Galaxy Nexus] Enteffe:
Work perfectly!!! Thanks a lot man :D
[Samsung Galaxy Nexus] iBrunoSousa:
Perfect!

Working well.

How can I use the MOD Navbar 32dpi with the mod "Fingerprint" this page? (http://xdaforums.com/showthread.php?t=1832908)

Sorry for the english, I'm Brazilian. :eek:
[Samsung Galaxy Nexus] CrashV5:
Hi! i've take a look at the page you linked, that modification changes the "graphics" of softkey press... so it simple modified some png files in the systemUI.apk... the creator said that the mod work on every gnex. If i understand how it work you can use ziptheme (i dont' know how this app work) to create a flashable zip with the modification you choose, it's correct?

SO,

if it's works this way

you can start flashing the dpi mod for 32 dpi,and then use ziptheme to edit the systemUI.apk already set on 32 dpi and apply the colour/stile of glow you prefer.

Sorry, now i'm at work and the firewall here don't like mediafire, so i cannot download some zip from that page to see what cointains

let me know if you try ;)
[Samsung Galaxy Nexus] CrashV5:
ok, i've simply modified the two .png in the systemUI.apk with fingerprint style, try the attached file ! ;)

let me know, it should work fine!

EDIT: i can confirm it works ;) i made a "halo icsBlue" variation of 36dpi navbar and flash without problems on my Gnex, i like it ! :good:
[Samsung Galaxy Nexus] icefun:
hello i have a question, every time a flash this mod i lose navbar and notif.bar....i am using nova laucher, is it possible that nova launch. have some problems with this mod?
[Samsung Galaxy Nexus] iBrunoSousa:
Thank you very much. The mod is working perfectly. Thank you again :)
[Samsung Galaxy Nexus] jay661972:
Like OP said if you have different mod it wont work, this is for nav bar mod and for stock only. i have nova launcher and no issue at all. my only mod installed is this nav bar.

dev can you include the 4g instead of H with this mod? i tried it with my personal 30dpi but no success.
[Samsung Galaxy Nexus] CrashV5:
Hi, i currently use apex launcher but i have also installed nova launcher and both works fine. I think the problem is your configuration, have you a stock 4.1.2 rom? odex or deodex shouldn't be a problem... a different theme or rom could be
[Samsung Galaxy Nexus] CrashV5:
4G icons should be located on framework and systemUI,i must do some investigations...can you give me a link where find a modification like to one you need (better if there is also the flashable zip heheh)? so i can see if could be adapted to 30 dpi or not ;)
[Samsung Galaxy Nexus] Enteffe:
Guys this mod work only in rom stock odexed, if you have a deodexed or custom rom you lost the navbar. I flash the mod in odexed and deodexed but work only in odexed. Sorry for my bad english :o
[Samsung Galaxy Nexus] jay661972:
this is what i followed and man, its a pain got stuck at google logo. the only success i mod is bigxie 30dpi. btw i send you pm with the link, did you receive it?

http://modstorm.co/tutorial-replace-h-icon-with-4g-icon-on-android-devices/
[Samsung Galaxy Nexus] icefun:
well i have stock deodex 4.1.2, but i have this issue with other mods too, there is some problem when i want to use mod that change SystemUI i think

i am on [ROM][OTA][GSM][JB] JZO54K: Rooted Busybox Deodexed & Odexed (10/18/12) by Bigxie
[Samsung Galaxy Nexus] jay661972:
just flash this mod only and will be ok, flash different mod like battery, etc, you will encounter lots of problem. thats why i am asking crash to help me change the H to 4g with the nav bar mod. i think you cant have both but not sure.

---------- Post added at 03:18 PM ---------- Previous post was at 03:12 PM ----------

crash, i was successful in creating a 30dpi navbar mod for bigxie rom and when i try to incorporate the 4g mod and this black background, http://xdaforums.com/showthread.php?t=1878871, everything screw up, is that mean you cant have both and i just missed something.
[Samsung Galaxy Nexus] revolt1:
can you make a 24dpi or the 30
[Samsung Galaxy Nexus] CrashV5:
Hi, yes i can

.

.

.

.

.

.

.

.

.:laugh:

Do you want that mod?? :D

ok! but...24 dpi, never try it, it's not too small?

i'll work on it this evening if i can, however check the topic, i'll update soon

bye!
[Samsung Galaxy Nexus] CrashV5:
hi Jay, i see your PM, i'll take a look to your file asap

The modification of 4G icon it seems simple, just switch two file names in the systemUI, so i think there will be no problem to add that mod in the "dpi mod" for the stock rom,but i think you got problem to add this mod to custom rom because were made different...i don't know...as i said, i'll take a look later (now i'm at work...heheheh)
[Samsung Galaxy Nexus] CrashV5:
Hi Jay, i don't understand if you have problem with 4g icon or the problem is 4G icon AND background mod, as i saw in that page, backgroung mod will require more files to be modified, so you can find a lot of problems!! first step, add a 4G to the dpi mod you prefer, and check if it work fine.. :good:
[Samsung Galaxy Nexus] jay661972:
got the background mod figure out, sort of, the changes on that mod are all png's but some of them when i decompile apk last night gave me an error. anyway, is your mod specific to rom or all stock rom like bigxie, arhd, and teshxx?
[Samsung Galaxy Nexus] CrashV5:
my mod is based on stock 4.1.2, so i modified the original systemUI.apk and original framework-res.apk. If you are on stock rom odex or deodex you will never have problems. If you are on a custom rom, everything change, because if the rom has also a little mod (like circular battery icon for example) this was made in the systemUI and framework, SO if you flash my mod you get different dpi BUT lose the circular battery modd of your custom rom... ok? BUT if the rom has HEAVY mod, these are set on systemUI.apk, and you understand...flashing my stock systemUI will mess everything! so much depends on the rom you want to modd, but i suggest you to not flash my mod, maybe you can try to mod the framework and systemUI of custom rom to add the dpi change..

ops...a long post :) and in approximate english too!!! hahaha

i update the topic with 30 DPI and 24 DPI(???) as request ! ;)
[Samsung Galaxy Nexus] jay661972:
I got you crash, i dont need this mod if im running custom rom like xenon, cna, etc they already hqve this, Im running the ota bigxie 4.1.2 which is deodex and i flash the 4.1.2 factory image as well.
[Samsung Galaxy Nexus] jayprime:
I flashed the 24 dpi and it works fine. It could go a little lower. It looks good but during screen transitions I see screen burn in from old nav bar.
[Samsung Galaxy Nexus] CrashV5:
ok! thanks for report! ;) ...a little lower?!?! :laugh: you really need a small fingers !!

for the burn, it's normal (and a bit sad..) ...where the navbar stay all day black, the screen remain little burned ..(they don't thought that we change the dpi :D ..in normal condition you never notice it ..to much...)
[Samsung Galaxy Nexus] viculiano:
hi, can you make a 30 or 32 dpi with a circle mod battety?

thanks