yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] DonDizzurp:
so.. do you use z-ram? does it help anything? notice differences? just wondering what the general consensus on z-ram is.

option 1: you use it and you notice that it helps with performance

option 2: you use it only for the sole purpose that it is available to you but you dont notice anything different

option 3: you dont use it because you dont see any benefits from using it or it causes problems (i.e. battery drain)

option 4: you dont use it because you dont believe it will help or dont trust it or just want to stick to simplicity

hmm.. i guess option 3 and 4 are essentially the same lol
[HTC Sensation] matt95:
imo it is a battery drainer :) i don't use it and i can't see any noticeable difference between the with and the without :)
[HTC Sensation] DonDizzurp:
for the first time, i installed my ROM without z-ram and so far i havent noticed any performance decreases but i did notice that my battery lasts a tad bit longer without it

ill probably stick to not using it.. seems like a gimmick
[HTC Sensation] jonahtriangle:
3:thumbdown:
[HTC Sensation] moshe22:
It helps with multitasking. It is not a performance tweak but rather a convenience.

It basically holds the app in memory so that when you get back to it, it will open fastet.
[HTC Sensation] sssurfer:
+ Using "Z-Ram" will give u more Free RAM n slightly better multitasking advantage.

- It will drain ur battery fast.

Now it depends on u if u wanna use it.
[HTC Sensation] shaboogen:
Do you have any numbers or data to show battery drain while using zram or is this based merely on observation?

D.S
[HTC Sensation] sssurfer:
Pure personal observation.

I used to have zram, but seeing the battery drain I disabled it in the next flash.
[HTC Sensation] AndroidNeophyte:
Hmmm.. i just turned off my zram last night, now ive been using my phone for 47 minites already and its still at 100%... I dont usually get to stay long at 100% while screen is on... Maybe turning zram off helped :).... Thanks for this thread and infos
[HTC Sensation] Rusty!:
Option 3. The Sensation has enough RAM.
[HTC Sensation] aznprodgy:
nope I dont use it, never noticed a difference
[HTC Sensation] DonDizzurp:
where is the zram script located?
[HTC Sensation] monchi69:
hi guys.. noob here..

just wanted to ask how do you disable z-ram? do i have to flash the rom again and deselect the z-ram on the installation process? or are there any way i can disable or delete it without flashing? Thanks in advance guys..
[HTC Sensation] DonDizzurp:
found it

its in /system/etc/init.d/
[HTC Sensation] AndroidNeophyte:
I just rename mine and add .txt at the end.. in case i want to use it again, i just need to delete the .txt part :).. the post above me is where you find the script
[HTC Sensation] monchi69:
Thanks guys really appreciate it.. hopefully it saves a little bit of battery life.. thanks again..
[HTC Sensation] Asa2303:
Correct me if I am wrong (happens a lot) but I thought z-ram takes some of your ram (80-90 mgb) and uses this to cache data for background apps rather than use a portion of your sd card. This would mean more streamlined multitasking and less wear for your sd card. I notice no difference either way, bit use it cos my 32 gb card cost me a lot, and want it to last forever lol.
[HTC Sensation] alphaz1:
i'm on vipers rom. initially i used yank555's modded faux kernel with zram, and many times my ram went down too low causing lags.

now i changed to sebastianfm's kernel and disabled zram via axetilen's mod. i dont have low memory problem anymore, no more lag and seems better battery life too. so i dont use zram because i think it's unnecessary.
[HTC Sensation] maidangisme:
Thanks to All, another thing to learn from experienced users... I'm very new with Android OS, i had no regretted switched from iphone to Android.
[HTC Sensation] davewilliam:
It sounds good in theory, but I've never noticed any difference.
[HTC Sensation] kingamin:
i use it

I use zram because without it i have less than 100 mb ram but with it i have at least 150 mb ram:good:
[HTC Sensation] rzr86:
actually without zram i have at least 220mb of free ram:cool:

the highest that i had sometimes was about 352mb of free ram:eek:
[HTC Sensation] ianoob:
I am on Bruce's CMX, previously on hyper nonsense, and used Yank's hardswap with both. It is like zRam, but to your sd card instead of internal. I use it for multitasking.
[HTC Sensation] mk3y:
i don't know if anybody can confirm this, but zram seems to have a small impact on battery life for me. i'm getting better results with hardswap.
[HTC Sensation] FatLabour:
Option 3.

Don't see the reason of using it.
[HTC Sensation] DonDizzurp:
looks like most people dont notice any difference yet still use zram

lol interesting results
[HTC Sensation] galaxys:
Never use it....
[HTC Sensation] jamesro1208:
So it looks like I should probably stay away from ZRAM if I want my battery to last longer....
[HTC Sensation] walkinhotdog:
so after always using zram for the longest time i finally tried it without it. didnt feel like i was missing out on too much. then went back to zram and i can actually feel a difference. more ram and faster app launch. guess i always took it for granted after using it for like almost forever. never felt an impact on battery life during the switch away and back to zram. no wonder kernel devs all use it, they know their sht
[HTC Sensation] nosferatu997:
I always use it...maybe i'll switch it off and try to find a difference.
[HTC Sensation] pvchip3:
I don't see a difference with or without it..so I don't use it anymore
[HTC Sensation] zen888:
I disable the feature on my viper 1.3.5 simply because I dont know how it works.
[HTC Sensation] TgumanoidT:
Hi guys, how to use zram? I must create a second partition (like ext3 or ext4) on sd card for swap file? or not?

sorry for my bad english.
[HTC Sensation] Metalsauce:
Some ROMs and Kernels (like ViperS and the Yank-mod Faux kernel) have the option to install it, it doesn't require another partition (someone correct me if I'm spouting false info) but as someone else said in this thread it uses a portion of your device's existing RAM and compresses it to make better use for multitasking. On other ROMs, like Bruce's CM10, ZRAM can be enabled just by changing a value in a script at /system/etc/init.d. The Hardswap mod by Yank does use a partition on your SD card just like a regular Linux machine.

I started using ZRAM months ago only because I read countless posts on here advocating it. I did notice my phone got snappier overall, but I haven't tested without to see if it has any impact on battery life.

Does anyone have a comparison for performance/battery between ZRAM, hardswap and stock?
[HTC Sensation] tarryl:
don't see any need for it, from what I've read if you want to have longer battery life, disable it :good:
[HTC Sensation] GaGiLu:
first i read about z-ram and i tried it, but i no see different if i use or no,

for me its not positive or negative for use, and the sensation have enough ram, so i no use.
[HTC Sensation] evo21:
I use it, i don't mind wasting a few CPU cycles to increase RAM "size", especially since i use a ROM that was made for 1GB phone.

I haven't tried with it off, so don't know what the performance/battery impact is.
[HTC Sensation] tachylatus:
If there are primarily negative side effects, I wonder why some ROMs have it enabled by default... :confused:
[HTC Sensation] matt95:
LOOOOL :D
[HTC Sensation] ESPORTIVA:
Nope
[HTC Sensation] Rafiq07:
No Need

I havn't had any need to use it since the CM10 ROM is already so smooth. From reading through the posts i can see it is a bit of a battery drainer aswell so i definately won't be touching it now.
[HTC Sensation] Elponius:
No I dont use ZRam

But its nice ;)
[HTC Sensation] greenlion77:
I will not use it yet, thanks to this thread. May try it at a later date.
[HTC Sensation] apidya1:
I don't use it at the moment. Primarily because there is no point if look at how much free RAM I have. It might become an issue if anybody wants to use their phone as a server.
[HTC Sensation] Mesaman2012:
No...

Sent from my HTC Sensation
[HTC Sensation] MidnightDevil:
Zram compresses memory in order to fit more. It had impact on performance and battery life. It's a necessity like it was already mentioned for users that do heavy multi taking.
[HTC Sensation] DonDizzurp:
on a PC, sure..

on a phone? i, and most others, believe it is useless.
[HTC Sensation] vickfred:
I fully agree, on a PC it makes sense, but on a battery charged phone - saves memory, but spends power for this, and is hardly a plus.
[HTC Sensation] flixfeng:
i agree with the battery draining =(

can someone teach me how to disable the z-ram script ?
[HTC Sensation] ed3nsect:
No, heavy battery drain with it...
[HTC Sensation] MidnightDevil:
Well, just like using a swap file / partition I believe it's usually useless for almost every user. There are rare exceptions which rely on heavy multi tasking. Honestly I do multitasking but never found a reason to use it, it usually impacts overall performance in a noticeable way, so I agree :)
[HTC Sensation] Byro-ATM:
I did use it but have now taken it off due to battery :rolleyes:
[HTC Sensation] r#ch:
+1

ZRam disabled here
[HTC Sensation] slacker1979:
Disabled because I see no difference except with my battery.
[HTC Sensation] agent6:
Hi,

1) do stock Roms usually have them turned on?

2) how to disable it on cm10?
[HTC Sensation] rzr86:
1)no

2)go to init.d folder and delete 90zram file
[HTC Sensation] agent6:
For QN 2:

Is it always written as "90zram" or something with"zram"? I ask this because the cm10 nightly version that I'm on stated that zram is on by default. However when I go to the directory that you have mentioned, there is no file "90zram" but only "00banner" and "90userinit"?
[HTC Sensation] rzr86:
my mistake

if you have zram then delete it
[HTC Sensation] Ludak021:
Don't you have settings > performance > memory blah blah > zRam in CM rom? It should be there, you tap on it and select what you want, disable or one of the other options...
[HTC Sensation] neo668:
I enabled ZRAM for the first time this morning by following a script I found in one of the threads on this forum. First, SWAP was set at 50MB. Increased it to 64MB and then to 128MB. At 128MB the phone lagged like hell, Returned to 64MB and smoothness returned. In fact I don't see much difference between ZRAM enabled/disabled, no matter at what size SWAP is set. But the larger the SWAP size the laggier the phone becomes. So I think I'll disable it.
[HTC Sensation] 5ageman:
I have seen the benefits of Z-RAM, but cons are overweighting the pros and that is shorter battery life. With Z-RAM on I have all my apps loaded into memory, Phone or messaging just pop out instantaneously even after running ME Infiltrator for example, while without Z-RAM Rosie needs a while to come around when I exit the game.
[HTC Sensation] zybach:
Good thing I'm not using it as per previous posts eats up battery fast
[HTC Sensation] ottomanhero:
I don't use it, it slows my phone down.

When i began to use it, i noticed my phone being a little faster with app launchs, till i restored all of my backups, i sometimes use around 25 different apps in a day, after launching all that apps and closing them (with back button and task manager) i noticed i had 50 MB of free memory (which is around 150 usually), when i checked amount of memory being used, it was just 69 MB, my total RAM is 289 MB, i get up to 170 MB free RAM without zRAM and seems like it slows my phone down if i don't restart regularly.So i just switched it off, it also slows app loads and it was supposed to make em load faster, so simply don't use it if you got a lot off apps, but if your using a few apps and want to make em load faster, go on and use it.

Change your memory minfree values guys, that helps more than zRAM or swap, for swap, i don't want to screw my 16 gb sd card, as im already using it with link2sd, using swap would totally fck it up

Also with zRAM, even animations (which are stored in my RAM already) were slow like hell, turning it off brought my phone back to life.

About battery life, with around 2 - 4 hours of phone usage daily, my battery used to run out of juice in 3 - 4 days, but with Zram its 1 - 2 days with same amount of usage.
[HTC Sensation] Loughery:
It does nothing for me, I don't notice a difference at all.
[HTC Sensation] alanp96:
does my sensation have to be rooted to use this?
[HTC Sensation] rzr86:
yes:)
[HTC Sensation] hltbest:
I used it for quite a while, but must say since changing to a kernel that does not use zRam I've noticed an increase in performance!
[HTC Sensation] donofdons07:
I9300 Lollipop powered

I just started using ZRAM. I noticed that my chrome browsers UI speed has increased.

No comments on battery draining.
[HTC Sensation] little_lerroyy:
ZRAM has a portion of compressed swap in physical memory, like with any data that is compressed, the CPU needs to decode that compressed information. Hence why some people may notice UI lags and general less than desiable snappiness within the ROM

I reckon android has a brilliant memory manager for low memory devices, it will save the apps "state" and reopen the app if it has been killed from memory. It does this in a decent amount of time.
[HTC Sensation] spacer00ster:
Hey. Any update on your experience? I also have a i9300 and when using zRAM everything is smoother, quicker but battery lasts about a day less.
[HTC Sensation] Gudsaf:
I don't.

But zram helped me to change battery: I just started using it and noticed that my battery is discharged :D.

... maybe in future
[Galaxy S III Q&A, Help & Troubleshooting] clockcycle:
Either I'm missing something or no one has done one of those concise all encompassing most important threads that includes all types of goodies in one place.

I am using an international note, i9300 on AT&T and wanted to see if any other, I guess countries' baseband/radio would work better for my area. Stock (I9300UBLF2) seems to obtain a slightly weaker or less signal than my AT&T Note did previously.

Anyone mind pointing/linking me?

Thanks,

-CC
[Galaxy S III Q&A, Help & Troubleshooting] sarbe:
Is this any good to you?

http://xdaforums.com/showthread.php?t=1674286
[Galaxy S III Q&A, Help & Troubleshooting] clockcycle:
Excellent search skills, I am lacking.. I appreciate your help.

EDIT: who would have thought, you have to ask the right question to get the right answer. I searched for baseband and radio, but didn't think of modem.. lol
[General Questions and Answers] suddenStrike:
Good afternoon,

I have perm rooted Archos G9 device using the images of surdu_petru . I want to write android app which stops service which is c++ program compiled for ARM. The problem is that when I try to get su I am always denied. I downloaded some apps to check if I have rooted my device and they said that I have busybox and su but I can`t get su priviledges. Any ideas how to solve that problem? Is it only me or everyone is like that?
[Kindle Fire General] krondar:
Hi guys,

I got my friends Kindle Fire, a bricked one (he bought it cheap...). I got a motorola factory cable. This device got a TWRP OpenRecovery, FFF boot. And... empty /system partition!

I would be very very gratefull for a system.img to flash it from fastboot using my factory cable.

Thanks in advance!
[Kindle Fire General] lovejoy777:
Are you saying you have fff &twrp installed?
[Kindle Fire General] krondar:
Yes, but i cannot flash an update.zip from twrp.

E:failed to mount /sdcard (invalid argument)

E:Can't mount /sdcard/update.zip

E:failed to mount /sdcard (invalid argument)

Error flashing zip '/sdcard/update.zip'
[Kindle Fire General] lovejoy777:
Go into mount and check that only sdcard is ticked
[Kindle Fire General] krondar:
I cannot tick it. Only 'cache' can be ticked
[Kindle Fire General] lovejoy777:
does adb work?
[Kindle Fire General] krondar:
Yes. I pushed update.zip to sdcard, so yes - it's working
[Kindle Fire General] lovejoy777:
type this and show me the output

$ adb shell

~ # dmesg | grep mmc0
[Kindle Fire General] krondar:
~ # dmesg | grep mmc0

dmesg | grep mmc0

<6>[ 2.450927] mmc0: new high speed DDR MMC card at address 0001

<6>[ 2.451354] mmcblk0: mmc0:0001 MMC08G 7.28 GiB
[Kindle Fire General] lovejoy777:
ok you are safe from the only kindle killing bug known:-)

---------- Post added at 12:03 AM ---------- Previous post was at 12:00 AM ----------

adb shell

idme?

show me the results
[Kindle Fire General] krondar:
Good to hear :) Now I need only a system.img to get this baby working :]

~ # idme?

idme?

/sbin/sh: idme?: not found

~ #

// this 5 minutes wait between posts is killing me! //
[Kindle Fire General] lovejoy777:
it looks like your partitions are messed up.

if you try the above command it should show your partitions. you may have to do a fastboot oem format.

sorry wrong command above.

adb shell

parted /dev/block/mmcblk0
[Kindle Fire General] krondar:
adb shell

parted /dev/block/mmcblk0

(parted) print

print

print

Model: MMC MMC08G (sd/mmc)

Disk /dev/block/mmcblk0: 7818MB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 11.0MB 10.5MB dkernel

4 11.0MB 212MB 201MB ext4 dfs

5 212MB 229MB 16.8MB recovery

6 229MB 296MB 67.1MB ext4 backup

7 296MB 307MB 10.5MB boot

8 307MB 312MB 5243kB ext4 splash

9 312MB 849MB 537MB system

10 849MB 2041MB 1192MB userdata

11 2041MB 2309MB 268MB ext4 cache

12 2309MB 7690MB 5380MB media

(parted)
[Kindle Fire General] lovejoy777:
ok all good there.

make sure your usb is connected

turn off kindle (hold button for at least 20 seconds)

cd to where you have fastboot and type, fastboot oem format and press enter

it should say "waiting for device"

then press power button on kindle

this should format the partitions back to factory settings.

post the outcome and i will advise
[Kindle Fire General] krondar:
C:\kfu\tools>fastboot oem format

... OKAY [ 0.063s]

finished. total time: 0.063s

C:\kfu\tools>
[Kindle Fire General] lovejoy777:
ok your using kfu.

is there an option to install fff & twrp again?
[Kindle Fire General] krondar:
KFU is trying to install twrp, but when it's reloading i'm getting back to twrp, not fastboot mode.

I can install twrp via factory cable.

(I think this device was erased in some way. In TWRP / Advanced / File Manager folder /system is empty. I pushed sh to /system/bin with adb, before asking for this img in this thread)
[Kindle Fire General] lovejoy777:
you now need to push a rom onto the sdcard use this as its the base of ics at the minute.

http://bit.ly/NaD2vW its hashcodes and it includes his 3.0 kernel

---------- Post added at 12:35 AM ---------- Previous post was at 12:32 AM ----------

yes now you mention it 0.063 seconds does sound fast to format all partitions back to factory set
[Kindle Fire General] krondar:
http://bit.ly/NaD2vW its hashcodes and it includes his 3.0 kernel

404 Not Found

Hmm... i got stock kindle fire bin file and MoDaCo Custom ROM for the Kindle Fire.

I can try one of them
[Kindle Fire General] lovejoy777:
down load twrp 2.1 from here and flash it with fastboot.

(fastboot is only on for a small time on each boot, so turn off kindle again, issue fastboot flash recovery /place/path/to/twrp2.1/here.img enter

should say "waiting for device"

then power on this should install twrp again (incase your twrp is duff)

---------- Post added at 12:43 AM ---------- Previous post was at 12:42 AM ----------

sorry link http://xdaforums.com/showthread.php?t=1592681
[Kindle Fire General] krondar:
Done it. Got TWRP 2.1.1

I pushed stock rom to /sdcard/update.zip

Now I'm back to the starting point.

TWRP -> Install -> Update.zip

E:failed to mount /sdcard (invalid argument)

E:Can't mount /sdcard/update.zip

E:failed to mount /sdcard (invalid argument)

Error flashing zip '/sdcard/update.zip'

Failed.

I think this baby was hard erased. System partition for sure (its empty), maybe boot partition too - i don't know. Recovery and bootloader are ok - I'm getting to twrp with FFF :)
[Kindle Fire General] lovejoy777:
here is the stock partition table for referance

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 11.0MB 10.5MB dkernel

4 11.0MB 212MB 201MB ext4 dfs

5 212MB 229MB 16.8MB recovery

6 229MB 296MB 67.1MB ext4 backup

7 296MB 307MB 10.5MB boot

8 307MB 312MB 5243kB ext4 splash

9 312MB 849MB 537MB ext4 system

10 849MB 2041MB 1192MB ext4 userdata

11 2041MB 2309MB 268MB ext4 cache

12 2309MB 7690MB 5381MB fat32 media msftres

---------- Post added at 12:54 AM ---------- Previous post was at 12:51 AM ----------

looks like your system and user dater ie sdcard are the wrong format. let me check.

this looks like a repartitioning gone wrong.

---------- Post added at 12:57 AM ---------- Previous post was at 12:54 AM ----------

you can use parted to reformat the two partitions. i know a chap called forest who is a wiz if you need advice?
[Kindle Fire General] krondar:
System, userdata and media to be strict. No ext4, no FAT32

I think I need a lot of advice + some system images to get this back to work. Maybe somebody got them (packing them up for my own can be a little to hard i think). Thanks for help, now I'm getting some sleep - it's 2 am, and on 6 am i'm gettig up to work ;] Tomorrow more fight! :]
[Kindle Fire General] lovejoy777:
there is a step by step guide, but its ravelled up in a thread about the super brick, if you want to pick your way through the site is herehttp://xdaforums.com/showthread.php?t=1651413&page=6

look for posts from vbdss & forest as vbds reformats etc all his partitions under guidance from forest. (do not panic as you have a different chip so this could not happen to yours:-)

if you can redo those 3 partitions you are good to go.

Edit it is sometimes good to hit the thanks button:-)
[Kindle Fire General] smirkis:
reissue fastboot OEM format and boot back into recovery n check ur partitions. system being blank isn't an issue, effed partitions may be tho
[Kindle Fire General] lovejoy777:
hi smirkis

fire kit maybe?
[Kindle Fire General] krondar:
Ok guys, I've done some research on this device. I found out that:

1. It was rooted. With 'some toolkit'. TWRP flashed.

2. It was flashed with some custom ROM.

3. It was rebooting (boot loop i think - wrong idme maybe?), so it was flashed again, with stock rom this time. Flash was messed up.

4. Stuck on "Kindle Fire"

5. TWRP and FFF install

6. "Wipe to get clean" as i was told. But wiped with 'fastboot /erase' :(

Which partitions? I think that /system /media /userdata and maybe /boot.

Ufff...

Tell me one thing - how to get out from this situation? This is first kindle fire I'm fixing that is THAT much messed up...

@smirkis:

C:\kfu\tools>fastboot oem format

... OKAY [ 0.571s]

finished. total time: 0.572s

C:\kfu\tools>

parted:

Disk /dev/block/mmcblk0: 7818MB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 11.0MB 10.5MB dkernel

4 11.0MB 212MB 201MB ext4 dfs

5 212MB 229MB 16.8MB recovery

6 229MB 296MB 67.1MB ext4 backup

7 296MB 307MB 10.5MB boot

8 307MB 312MB 5243kB ext4 splash

9 312MB 849MB 537MB system

10 849MB 2041MB 1192MB userdata

11 2041MB 2309MB 268MB ext4 cache

12 2309MB 7690MB 5380MB media

(parted)

// EDIT. Ok I did it! :) It works! :] It was not so bad

1. I made system.img (under a linux box) from stock rom, and flashed it from fastboot. (I saw files in /system :])

2. I made userdata.img (under a linux box), and flashed itd

3. I mounted media in to my windows box. Formatted it - FAT32.

4. Copy cm-9-20120705-UNOFFICIAL-otter.zip -> /sdcard/update.zip

5. Copy gapps

6. TWRP -> Install -> Update.zip

7. TWRP -> Install -> gaaps

8. Reboot!

9. Working CM9 Kindle Fire!

Thanks for tips and help! And lovejoy777, thx for tips and adb shell commands! It's working because of your help :)
[Kindle Fire General] lovejoy777:
well done mate. good look

steve

sent from my new non bricked kindle:-)
[Kindle Fire General] krondar:
I checked this link about formating partitions by Forest - This gave me many ideas :) Thx!