yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Gondya bhau:
how exactly are we supposed to run the zipalign_apks command ? i mean are we supposed to force close any apps before that ???

i tried zipalign command in term. em...it ran and aligned most of my apps....few apps fced in the middle...since then google play went missing from my app drawer.....

so what went wrong ??/

i typed

su

zipalign_apks
[Android Software/Hacking General [Developers Only]] Krowbarr:
Same thing happened to me,I lost Google Play and about ten other apps. Had to reinstall them.

Owner/Operator Samsung E4GT running PAC-In-Black/All In One 4.2.2 v.22.0.1
[Android Software/Hacking General [Developers Only]] ken_alpha24:
This is for JB rom only and up i think
[Android Software/Hacking General [Developers Only]] :
Same thing also.happened to me.
[Android Software/Hacking General [Developers Only]] ken_alpha24:
Make sure you guys install it properly and type the command in Terminal carefully
[Android Software/Hacking General [Developers Only]] ztandroid:
Happens to me, phone freezing, apps fc'd but it's happen after installing the mod and run zipalign. After rebooting, the command runs good.
[Android Software/Hacking General [Developers Only]] Exit_Only:
You need to use v0.4.3-r2.
[Android Software/Hacking General [Developers Only]] Krowbarr:
I did type the command carefully and since I'm not the only one to run into this problem I think it highly unlikely that we ALL typed the command wrong. Odds would certainly be against that happening.:D

Owner/Operator Samsung E4GT running PAC-In-Black/All In One 4.2.2 v.22.0.1
[Android Software/Hacking General [Developers Only]] Exit_Only:
Hey. How did you figure out my secret :D
[Android Software/Hacking General [Developers Only]] gamepro602:
When I zip aligned and my apps were gone i just rebooted and then they were back in the app drawer:confused:

Laughing at you while eating Jellybeans
[Android Software/Hacking General [Developers Only]] count_martin3z:
Got it. Thanks!
[Android Software/Hacking General [Developers Only]] Basche:
I lost my modded sms app and had to reflash my Rom. That was the only app missing and a reboot didn't help. And this was right after doing zip align, maybe force closing apps to make sure they don't run in the background does the trick for it not disappearing. I also have the same issue as the one person 1page back who posted the log cat. It's the issue where the sdcard test would take a long time at boot and apps takes also a long time to be available in the app drawer, I'm using nexus s. Do you want me to post a log cat as well, I'm using 4.2 with CB and not your entropy version.
[Android Software/Hacking General [Developers Only]] Ryuinferno:
Simple...apps were not meant to be zipaligned when running...that is why it started as an init.d script...and I don't see the need of zipaligning frequently... Once it's done, it's done...doing it repeatedly doesn't help...and understand the mechanism of zipaligning...the improvement is only like...0.0001%...nothing major...most apps nowadays are already zipaligned before pushing into Play Store (which dev doesn't want his app to perform properly? Lol)...
[Android Software/Hacking General [Developers Only]] Exit_Only:
It was a hair brained idea on my end :o
[Android Software/Hacking General [Developers Only]] brainwasher01:
Sorry, can't find v4.3 r2, i downloaded the v4.3 r1, now see you talking about r2 :p

Sent from my SAMSUNG-SGH-T989 using Xparent Skyblue Tapatalk 2
[Android Software/Hacking General [Developers Only]] VeryCoolAlan:
Hey exit never really saw this question.

Can we install crossbreeder right after installing your mod or do we have to turn your entropy off? then flash?
[Android Software/Hacking General [Developers Only]] rushilkr:
You have to uninstall the entropy script before flashing crossbreeder
[Android Software/Hacking General [Developers Only]] Exit_Only:
Need to uninstall entropy
[Android Software/Hacking General [Developers Only]] hazedabeast:
The newer builds are giving me alto less battery life like the older builds
[Android Software/Hacking General [Developers Only]] Gondya bhau:
IMHO Exit you should add a warning of some sort in the OP before the terminal emulator command for zipaligning......basically its not worth trying that command in terminal when there is a chance of losing your apps (with data too) when the gain is so less....i almost lost my NFS most wanted app( somehow got it back)....and i was on rank 2 :eek::eek:
[Android Software/Hacking General [Developers Only]] Exit_Only:
There is a warning in the op. USE AT YOUR OWN RISK. Can't get any clearer then that. It will be removed in the next update.
[Android Software/Hacking General [Developers Only]] Gondya bhau:
my bad then..i guess i just didnt read the OP carefully...sorry for spamming :angel::angel:
[Android Software/Hacking General [Developers Only]] rydog66:
I just pay attention! ;)

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

EO & Ryuinferno, y not make it an automatic startup command instead so it will b ran properly & no apps could possibly be open....& no chance of type-o's (even tho I'm pretty sure that's not what caused the trouble)? Just my 2 cents.
[Android Software/Hacking General [Developers Only]] eigokyoukan:
I run backups in titanium and nandroid before flashing anything. This should be standard procedure when flashing items from xda xD

Why is it EOs duty to put backup capabilities that are already there? Why is it anybody else's duty BUT YOURS to ensure backups are kept?

A little bit of research, and keeping backups will save you so much time and frustration. It is no ones duty but your own to do that.

All of these tweaks, and ROMs elsewhere have warnings. Its up to people to read them and keep their own system up and running. No one else can do that. Personal responsibility! What of EO puts auto backup in... Then it fails... Then people get upset because they didn't do their own work.
[Android Software/Hacking General [Developers Only]] deaver_92:
Building on that idea, you could require a reboot before the script is executed. So Billy Joe types "zipalign_apks" in terminal emulator and is hit with a "Reboot Required. Reboot Now? 1. Yes, 2. No" prompt. Then the script is executed on the next reboot.

Edit: Oh and a typo would just result in an "sh: not found" error.

---------- Post added at 09:33 AM ---------- Previous post was at 09:28 AM ----------

There was no mention of backing up anything in his post...
[Android Software/Hacking General [Developers Only]] pikachu01:
Zipaligns can be done while the system is up/after OS is done booting.
[Android Software/Hacking General [Developers Only]] detdett:
read again.
[Android Software/Hacking General [Developers Only]] deaver_92:
This is the post you quoted.
[Android Software/Hacking General [Developers Only]] Exit_Only:
You have got to be kidding me. Making a nandroid is common sense. :banghead:
[Android Software/Hacking General [Developers Only]] Exit_Only:
Its already an init.d script. It only runs at boot. I wanted a second option for users to do it ondemand. But it was a epic fail on my end :-/
[Android Software/Hacking General [Developers Only]] deaver_92:
I wasn't saying anything about making or not making a backup. I was saying that the other poster (my first quote) made no mention of backing up anything in his post. I have lots of nandroids. I keep running out of space on my sd because of nandroids.
[Android Software/Hacking General [Developers Only]] rydog66:
I wouldn't go that far homie! No need for self loathing! It sounds like you got it handled already then, great. That takes care of that, now on tho the next thing...LOL NEVER ENDING!!!

Keep on pcushin'

Cheers,

edit:

Building on that idea, you could require a reboot before the script is executed. So Billy Joe types "zipalign_apks" in terminal emulator and is hit with a "Reboot Required. Reboot Now? 1. Yes, 2. No" prompt. Then the script is executed on the next reboot.

Edit: Oh and a typo would just result in an "sh: not found" error.

I like this too, deaver_92!! It sounds like EO has had the answer implimented the entire time, he was just experimenting with the .additional, optional user command. I never lost faith.

---------- Post added at 02:05 PM ---------- Previous post was at 02:00 PM ----------

I'm not sure what that's about either. I know what #4 in the op says, but what user was talking about backups being EO's responsibility, I'm not sure! I thought it was just me. I'm glad that you, deaver_92, said something, otherwise I'd walk around the rest of the day thinking I'm crazy! LOL

Cheers
[Android Software/Hacking General [Developers Only]] Exit_Only:
The next update will have to be installed via terminal emulator. Look for it later.
[Android Software/Hacking General [Developers Only]] rydog66:
Similar to Ryuinferno's style that he released here?? Those seem to work out nicely & they save you time too, compiling don't they?? Thanks for the heads up & good news of new good things to come!!

Peace,
[Android Software/Hacking General [Developers Only]] Exit_Only:
Exact same thing
[Android Software/Hacking General [Developers Only]] Richardsentosa:
works like a charm in Samsung Galaxy Ace 2 GT-I8160 using TWRP 2.4.3.0! thanks for the scripts man!
[Android Software/Hacking General [Developers Only]] pkatsaras:
Still having issues with later 0.4.2 and lags a lot...Here is the logcat I took. Let me know if it's OK cause this is the first time I take a logcat.
[Android Software/Hacking General [Developers Only]] Exit_Only:
I looked at the first log cat and didn't see any errors.

Might be your ROM maybe? I'm not to familiar with LG in all honesty.
[Android Software/Hacking General [Developers Only]] pkatsaras:
Still strange though...Anyway, I'll try the next releases and if I don't see any improvement then I'll revert to 0.3.4. Thanks, keep it up! :good:
[Android Software/Hacking General [Developers Only]] Exit_Only:
Next update will be better and stable.
[Android Software/Hacking General [Developers Only]] rydog66:
It had BETTER be!!! Or I'm gonna demand a full refund! LOL
[Android Software/Hacking General [Developers Only]] pkatsaras:
Happy to hear! I made a comparison in 0.3.4 and 0.4.2 as far as the scripts are concerned and I think that what was messing my phone up and it wasn't in 0.3.4 is the zram script in init.d. I removed it and restarted my phone and I saw significant improvement but still one click slower than 0.3.4. Just letting you know...;)
[Android Software/Hacking General [Developers Only]] Exit_Only:
Interesting. I will look at that.
[Android Software/Hacking General [Developers Only]] Ryuinferno:
Hmm...been thinking bout zipalign thingy...maybe I was wrong...It can be done after boot maybe...gotta take a look...
[Android Software/Hacking General [Developers Only]] Exit_Only:
I know. Its affected me as well. I'm working on that.
[Android Software/Hacking General [Developers Only]] Exit_Only:
In v0.4.4 it is only a init.d script :) no worries
[Android Software/Hacking General [Developers Only]] Ryuinferno:
:)...by the way, do you wanna let me take a look at your script installer? Wanna make sure you got it right first...
[Android Software/Hacking General [Developers Only]] Exit_Only:
I am pming you right now. Way ahead of ya :)

Edit: I pmed you
[Android Software/Hacking General [Developers Only]] Exit_Only:
Here is v0.4.4

New additions:

THIS IS NOT NOT NOT FLASHABLE THRU ANY RECOVERY!!!

Nos Entropy is an optional install!!!

This is to be installed via terminal emulator ONLY!!!

ZRAM IS NOW OPTIONAL. Simple delete the zram folder in /etc and the /etc/init.d zram script BEFORE running the install command!!!

Directions:

Download new zip

Extract /install folder

Extract /buildprop_separate (OPTIONAL)

Move /install folder to /sdcard

Move /buildprop_separate to /sdcard (OPTIONAL)

Open Terminal Emulator app

Type this command and follow the prompts...

su
sh /sdcard/install/install.sh

If you want your build.prop NOS injected with tweaks run this command (OPTIONAL)

su
sh /sdcard/buildprop_separate/buildprop.sh

Download link: http://www.mediafire.com/?hrwbjsn4od4jk7n
[Android Software/Hacking General [Developers Only]] suaverc118:
Sorry for question but can both the install and optional be done at the same time or is one just for buildprop only? One better vs the other? Still learning what you guys are putting out and appreciate what y'all do.
[Android Software/Hacking General [Developers Only]] iamikon:
Hey EO/ryu. Seems us Qualcomm folks are different again..... Fstab is actually fstab.qcom so the build.prop doesn't work piteously as it only searches for fstab
[Android Software/Hacking General [Developers Only]] Exit_Only:
You can do either first. Don't really matter :)
[Android Software/Hacking General [Developers Only]] Exit_Only:
Ryuinferno is working on that.
[Android Software/Hacking General [Developers Only]] forster:
Mate, i receved some error when trying to instal buidprop

edit: i just saw it is already reported HOX qualcomm here :)
[Android Software/Hacking General [Developers Only]] iamikon:
Awesome guess I'll wait for 4.4r1 :)
[Android Software/Hacking General [Developers Only]] Exit_Only:
You typed the wrong command
[Android Software/Hacking General [Developers Only]] iamikon:
That's the same error I get but I did the right command I just investigated why it couldn't find fstab considering how important that is lol
[Android Software/Hacking General [Developers Only]] forster:
On vertical you cannot see a whole line...

this is as in the instructions:
[Android Software/Hacking General [Developers Only]] Exit_Only:
Try this. This is ONLY the buldprop.sh script and nothing else.

http://www.mediafire.com/?1cz0w0uxg52bvtt
[Android Software/Hacking General [Developers Only]] rydog66:
I get that exact same msg. On my Nexus 7
[Android Software/Hacking General [Developers Only]] rydog66:
Looks like that did it. :cool:
[Android Software/Hacking General [Developers Only]] iamikon:
OK so entropy for Qualcomm still isn't quite working. I have to manually kill rngd and qrngd then start rngd after each boot to get the values where they should be. Everything else seems to be solid.
[Android Software/Hacking General [Developers Only]] forster:
seems this worked, but how can i check it?

i tried all scripts 4cylturbo, rambooster, and nos_entropy all went thrugh
[Android Software/Hacking General [Developers Only]] Ryuinferno:
Of course...haven't fixed it...:p
[Android Software/Hacking General [Developers Only]] poo706:
Couldn't you just add a line to the init.d script to kill qrngd prior to starting rngd?

[poo]
[Android Software/Hacking General [Developers Only]] Ryuinferno:
Or even better, since you are using rngd, try moving qrngd located in /system/bin to somewhere else and reboot...then test nos_entropy again...
[Android Software/Hacking General [Developers Only]] deaver_92:
Is it supposed to be a whole bunch of lines that all say "usage: setprop <key> <value>"?
[Android Software/Hacking General [Developers Only]] Exit_Only:
You got it.
[Android Software/Hacking General [Developers Only]] iamikon:
This! I was out and about trying to test lol didn't think of the most obvious. Rename /system/bin/qrngd to qrngd.bak works flawlessly. Maybe add the renaming to the nos_entropy install script?

Profit..... Thanks EO & Ryuinferno
[Android Software/Hacking General [Developers Only]] Azuma73:
So, are we a GO with the whole qualcom/Verizon S3 scenario (I guess that's the issue)!?!?

Please don't bust my balls for asking, it's been a long 13 1/2 hour day..thanks guys! !
[Android Software/Hacking General [Developers Only]] iamikon:
Use the separately posted build.prop script posted by EO and rename the file I mentioned a second ago and all is good to go on my s3
[Android Software/Hacking General [Developers Only]] Exit_Only:
All the galaxy s 3 models use the same Qualcomm Dual core snapdragon krait 1.5ghz processor.
[Android Software/Hacking General [Developers Only]] ken_alpha24:
I got the 4cyl Turbo 0.4.2 can anyone give me a better version than this? And if there is can anyine help me install this? I need instructions... Tnx :)
[Android Software/Hacking General [Developers Only]] iamikon:
The only instruction you get at this point is to read the op and the last few pages of the thread.
[Android Software/Hacking General [Developers Only]] OptimusDan:
Well said.

Sent using XDA-Premium
[Android Software/Hacking General [Developers Only]] detdett:
Nice try, dude
[Android Software/Hacking General [Developers Only]] Gondya bhau:
ran the latest one ie. v0.4.4 in terminl emulator....

installation went fine....but the changes made require a reboot anyway.....

and for once on rebooting, the nos entropy generation showed ON...usually i have to turn it on manually..

good job :D:D:D:D

On another note..

sorry if i this has been asked, but what advantage does the terminal emulator method have over flashing from CWM ???
[Android Software/Hacking General [Developers Only]] ztandroid:
I think the different is flashing over CWM will excute those command (install command) automatically, while in terminal you excute it manually. cmiiw please..:p

Edit :

And it's more interactive with terminal, you choose what to install and what not.
[Android Software/Hacking General [Developers Only]] ken_alpha24:
What?
[Android Software/Hacking General [Developers Only]] 1asbak1:
I just wanted to point something our here for you Exit_only

I own a i9070, and have been running your script, and updates for over a month now.

Since the entropy generator came out, the total speed gained by the script droped tremendously for me, i know that that sounds weird.

But i can feel the difference in the menu's, and scrolling in websites also gets better when i turn entropy generator of in the terminal emulator.

do you know what can cause the this lagg (when it's turned on)

the main part of the script is ofcourse still doing its job, and the 4cylturbo command also works, that is not the problem, everyting seems to work.

thanks so far for you great work! maybe you know somthing to do.
[Android Software/Hacking General [Developers Only]] kkkhattak:
What i am doing wrong ?
[Android Software/Hacking General [Developers Only]] framir:
Have extract zip in sdcard
[Android Software/Hacking General [Developers Only]] kkkhattak:
YeS oF course
[Android Software/Hacking General [Developers Only]] Exit_Only:
The reason myself and ryuinferno went with the terminal install method is because I want to make this compatible with all devices. This terminal script does just that. Now it works on all devices :)
[Android Software/Hacking General [Developers Only]] ken_alpha24:
Need to turn on Entropy Generator every boot... Why is that? It says run at boot: yes
[Android Software/Hacking General [Developers Only]] kkkhattak:
What am I doing wrong
[Android Software/Hacking General [Developers Only]] Exit_Only:
Its obviously not on you sdcard or you did pull the install folder out and move it to the sdcard ;)
[Android Software/Hacking General [Developers Only]] kkkhattak:
Installed it thanks:p
[Android Software/Hacking General [Developers Only]] Exit_Only:
You need to reread the op
[Android Software/Hacking General [Developers Only]] VeryCoolAlan:
How the heck do you do that?
[Android Software/Hacking General [Developers Only]] rushilkr:
read the op..there is an uninstall script given there.
[Android Software/Hacking General [Developers Only]] Trykall8:
Try command su First. Type su.
[Android Software/Hacking General [Developers Only]] jakereeves31:
Is it supposed to look like this for the build.prop tweaks?
[Android Software/Hacking General [Developers Only]] iamikon:
Seriously guys..... Read the thread this has all been covered specifically by me and one other person.

Stop trolling..... Read the thread this has again been covered in the past few pages.....

Sent from my SPH-L710
[Android Software/Hacking General [Developers Only]] ArtfulDodger:
OK just my feedback here. The latest terminal version doesn't seem to "take" so to speak. Ads were back and Quadrant test dropped 600 points. Also I couldn't run the zipalign_apks command (removed?). Benchmarks are subjective but if there is a dramatic difference in score it at least is an indicator. Before the deviation between tests was no more than 200 points. So last tests were near 2200-2400, the latest was 1800. Compared and the CPU score was what was down so much. Even tried it again and still got the same score to be sure. Apps still open quick but I went back to 4.2. Still got a low score so I removed the build.prop update. Once I restored my backup of that file things were all good again. So could be just that file and not the latest NOS, can't say definitively.

Just me personally but I am not a fan of installing through terminal. I prefer CWM or TWRP. Maybe I'm in the minority on that, IDK. At any rate thanks for the continued work.
[Android Software/Hacking General [Developers Only]] redemption024:
I got the same error as some of you when i first tried to install this via terminal. What i did was reboot and then mount system r/w (with the help of some script) and then it works. The install went smoothly and the nos scripts and entropy works fine.
[Android Software/Hacking General [Developers Only]] detdett:
+1 for the flashing through CWM or TWRP. I do not like to install through terminal either. Exit_Only, if it's possible to have a flashable zip for your new releases, that will be great.
[Android Software/Hacking General [Developers Only]] frazer19:
+1 for flashing thro Cwm or twrp recovery
[Android Software/Hacking General [Developers Only]] Ryuinferno:
1. zipalign_apks was removed

2. Installation via terminal still requires a reboot for things to settle down, which explains bout the poorer performance...

3. The latest version does not have ad block...

4. Why terminal? Cause AROMA does not always work, so for selective installation, terminal works better...and no more recovery errors...there is no difference between CWM and terminal anyway...both of them inserts/modify files...

5. Don't just say xxx does not work...logs or screenshots please...bugs can always be squashed...

6. Benchmark scores? Seriously? Have you read codeworkx's or Chainfire's quote bout that?

**The buildprop.sh has some errors in it...which explains your weird outputs...but the mod is applied in build.prop anyway, so rebooting will always help...
[Android Software/Hacking General [Developers Only]] yyz71:
Than you for this detailed answer or explanation Checked my buildprop everything seems to be in order...:highfive:
[Android Software/Hacking General [Developers Only]] Exit_Only:
I ironed out most of the bugs. here is v0.4.4-r1 test release. Buildprop.sh won't give those errors no more. I added a README.TXT file in the READ-ME folder with very very very detailed directions on how to use this properly. Please read the README.TXT file once you download it. I changed some folder names so PLEASE READ THE README.TXT FILE PLEASE PLEASE PLEASE.

Download link: http://www.mediafire.com/?vfb6z0bp2uct9a4
[Android Software/Hacking General [Developers Only]] jakereeves31:
I read the thread every day. Must have been the one post I didn't see
[Android Software/Hacking General [Developers Only]] Exit_Only:
This thread is hard to keep up with. Lol
[Android Software/Hacking General [Developers Only]] jakereeves31:
Ain't that the truth. Haha
[Android Software/Hacking General [Developers Only]] detdett:
That's what happens when you're too popular, Exit_Only.
[Android Software/Hacking General [Developers Only]] Azuma73:
For reals ya'll!!!:silly:
[Android Software/Hacking General [Developers Only]] detdett:
I followed the instructions in the read_me file. This is what I got.

3% battery was used during the entire process

Gsam (battery app I have) and Google Play Services forced closed

Upon reboot, everything was back to normal. Feels snappier for people who is curious as to whether or not there was a difference between this build and the previous ones.
[Android Software/Hacking General [Developers Only]] Exit_Only:
All that is 100% normal. The script wipes dalvik cache so some apps will FC. After a reboot all will be normal :)