yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Lit:
dorimanx, what you think about optimizing akp files in ROM?

I check zipalign on framework-res.apk of Cyanogen Nightlies, its already optimized. But after you modifing this files apk need to be optimized by zipalign!

After you finish modifying .apk file copy file to /place-apk-here-to-batch-optimize. Then select "15", then "z" to optimize .apk. This optimization is standart operation for android .apk files.

Another optimization is unofficial for .png and .ogg files without loosing quality but reducing sizes.

For .png can be runned by option "15" then "p" or "zp" (full optimization)

But not all .apk allow to be optimized. Read anomalous3 and Daneshm90 posts http://xdaforums.com/showthread.php?t=695701&page=2

Its difficult to optimize all files correct and without bugs but ROM will be faster.

In Apk Manager 4.9 I found a bug with path to zipalign and I make a fix for this.
[HD2 Android NAND Development] Hinnne:
Tytung or give Rafpinga Kernel a try?

Hi,

what is the best Kernel?

Do you think Rafpinga 2.0 OC is better than Tytung r10?

I noticed something on dorimanx 2.7.2 with tytung r10.

Current Widget says I have often 3mA on standby (looks good) but I think battery drain is much worse than in earlier versions of typhoon rom. Standby time is lower.

Any idea?

Kernels:

Tytung r10

http://xdaforums.com/showpost.php?p=10429937&

Rafpinga 2.0 OC

http://xdaforums.com/showthread.php?t=940823
[HD2 Android NAND Development] dorimanx:
update to 2.7.2.1

i think i fixed that! :)
[HD2 Android NAND Development] dorimanx:
No Problemo :)

will be in next build.
[HD2 Android NAND Development] dorimanx:
strange that was working before...

maybe the new nightly update not include hebrew in keyboard...

i didn't change any thing that belong to that except FONTS.

So just try different keyboard.

i use Slide IT + RUS + HEB packs, it's paid app and need to get used to it, but i like it.
[HD2 Android NAND Development] dorimanx:
i will try your fix.

i once tried to zipalining and ROM crashed on boot.

so i didn't used it any more.

but when i unpack and repack it's looks like it do it already, file compressed very good.
[HD2 Android NAND Development] dorimanx:
didnt tried the Rafpinga 2.0 OC

but Rafpinga 1.9 OC wont load on CM7 or HD2, it's was always stuck on boot.

i will try the 2.0

if OK then we will move to it, if not then stay on tutyng..
[HD2 Android NAND Development] pedmond:
Please don't move to Raf just because someone suggests it. I find Tytung to be more stable.
[HD2 Android NAND Development] gerardroid:
i may assume this update is only for people with data issues?

btw dorimanx your rom still is a pearl,fast/smooth no problems..
[HD2 Android NAND Development] dorimanx:
strange! this can be only if you lost the swap file on sdcard on reboot!

the error about dev/block is for EXT4 swap so ignore,

check if you hace file swap with size of 199mb on sdcard after reboot.
[HD2 Android NAND Development] dorimanx:
I have found that your NAND drive has errors! and needs to be fixed,

or it's just soft errors then no problem, but if this is bad sectors then it's will be not easy to fix.

fsck is not working, so how to fix NAND errors i dont know for now.

i am checking...

and you can reformat you nand with MAG installation. and then recovery,

maybe it's will fix the errors on nand drive.
[HD2 Android NAND Development] freewind29:
After reboot, the swap return to 0, but I do find a file called swap in my sdcard, it shows the size of the file is 195,31mb
[HD2 Android NAND Development] dorimanx:
and if you cat /system/etc/fstab

what you get?

and if you run swapon -a

free

now there is swap?

do you have file name script.txt at /sdccard/phonePrioritizer

Thanks
[HD2 Android NAND Development] freewind29:
cat /system/etc/fstab

/dev/block/mmcblk0p3 swap swap

/sdcard/swap swap swap

swapon -a

swapon;can't stat '/dev/block/mmcblk0p3';no such file or directory
[HD2 Android NAND Development] dublus:
I get the same as freewind29.
[HD2 Android NAND Development] dorimanx:
That's OK if you don't use EXT4 swap,

/dev/block/mmcblk0p3 = EXT4 SWAP (THE HARD WAY from my page2) just ignore if you set sdswap.

but when you run free.

do you see 200mb swap?

do you have the script.txt in sdcard/phonePrioritizer?
[HD2 Android NAND Development] dj alex z:
USB Mass Storage

Hi @ all...

Iv`e installed

Dorimax-Rom-2.5.0-Nightly-131-HIGH-END-MAG.zip

ROM-Dorimanx-2.5.6-UPDATE-FIX.zip

ROM-Dorimanx-2.5.7-UPDATE-FIX.zip

Now the USB Mass Storage Mode does not work...

Any Answer?

PS.

Realy Super ROM
[HD2 Android NAND Development] gerardroid:
Just reboot will work after that....
[HD2 Android NAND Development] tone602:
I would like to try SWAP the easy way on NDT MIUI v18.2 rom. How do i know that SWAP is working once i do the install ?

ps. I have ext 4 on SD card....does it matter if i change it to ext3 ?
[HD2 Android NAND Development] dublus:
When I try to explore to folder "init.d" I get 'Forbidden'.

Already fixed permissions and granted SU.

*Edit - going back to 'Light' until others can keep swap after reboot.
[HD2 Android NAND Development] charleykj:
Just installed and after a couple of re-boots, and ran fix permissions everything seems to be running great!!
[HD2 Android NAND Development] jizreal:
updated to 2.5.7 and script works fine but wifi wont connect
[HD2 Android NAND Development] Rudyfastcat:
I to am having the same problem, USB not conecting. (Yes I did reboot,

Did not have this issue with V2.5.5 I am going to reflash ROM and install

updates insteps to see if I have the same problem and see if it's update

v2.5.7 that has caused this issue.

Other then that this ROM has been rock solid for me.

After I reinstall I will report back.

Edit: Okay I reinstalled everything and I can confirm that once I installed update v2.5.6 that USB

will not connect and read SD card.

I can access my SD through Clockwork Recovery though
[HD2 Android NAND Development] SuperiorEst:
I couldn't find this answer

+1

I installed this ROM today, how do I find out if the SWAP is actually working?

16GB SD 2GB EXT4 500MB SWAP

MAGLDR-CWM
[HD2 Android NAND Development] freewind29:
When I run the 200mb script, it does create the 200mb swap space, but it return to 0 after every reboot, when I ran "free" command, it showed swap 0, I have to re-create the swap manually, is this normal if I don't use the ext4 swap?

p.s. there is script.txt file in sdcard/phonePrioritizer.
[HD2 Android NAND Development] SuperiorEst:
What am I doing wrong?

typed in terminal emulator:

su - (hit enter)

sh /sdcard/swap-hard.sh

What do I do next? Is my SWAP Working? How do I Know if it is?

Am using Dorimanx ROM

Have 2GB SD EXT4 and 500MB SD SWAP
[HD2 Android NAND Development] freewind29:
You are good to go!
[HD2 Android NAND Development] dorimanx:
not rom problem,

it's working here from first boot,
[HD2 Android NAND Development] dorimanx:
i will check what can make this happen.

the updates are only script fix that activate swap and some more options,

thanks for feedback,

wait for update.
[HD2 Android NAND Development] gerardroid:
+1 for this comment
[HD2 Android NAND Development] Visentinel:
I preffer tytungs work to :)

I have updated to 2.7.2 and now I'll do 2.7.2.1
[HD2 Android NAND Development] dorimanx:
Well it's not working for MAG

But working for CLK! :)

So if some one want to test on CLK and compare to Tytung it's can be GREAT!!!

I have uploaded to mirror 1 new kernel tweaked and ready for CLK ROM

rafpigna_2r0_charan_clk_For-Dorimanx-CLK-ROM.zip

if it's better! then at least CLK users will have better Kernel / ROM :)

If no go, then just reinstall the ROM, no need to clear any thing.

Don't try on MAG, will stuck on boot.!!!

About the update 2.7.2.1 it's GOOD for all, it's will make DATA more faster then it's now!

test it.
[HD2 Android NAND Development] sahbaz:
i have installed 2.7.2.1 update. but now even i can use internet browser, i can't download anything

(magldr version)
[HD2 Android NAND Development] dorimanx:
The DATA not working? or the WIFI?

try to change in build.prop

ro.ril.hsxpa=5

ro.ril.gprsclass=32

To

ro.ril.hsxpa=3

ro.ril.gprsclass=12

then save and reboot.
[HD2 Android NAND Development] Lextermina:
Aff Market its ok for me now but dont Browser :(

It starts and turns off after 5 seconds. I emptied the cache and the same problem. 2.7.2 It is the same for the High End.

1 solution for that? Only browser crash and other navigator.
[HD2 Android NAND Development] Visentinel:
Lol I can't get Wikipedia "wiki apps" missing download button.

But can download wikidroid.

This market issue is weird.

Feedback: Always amazed at the speed of this rom everyday. Wow. 2.7.2.1 is even faster lol.
[HD2 Android NAND Development] Hinnne:
kernel governor

Hi,

which governor is recommended?

interactive or smartass?

Is smartass better for longer battery?

Thanks
[HD2 Android NAND Development] sahbaz:
i use wifi. i turned back to 2.7.2 and it works again
[HD2 Android NAND Development] dorimanx:
yes i see that problem with market...

i will try to by pass it.

Look like it's blocked for any IP, it's waiting for you to be with some Allowed Proxy IP ot some different network!

I tried to mask the phone as google / or any other HTC and still no download button on Wikipedia

i am working to perfect the network tweaks, for us.

so i will update soon.
[HD2 Android NAND Development] gerardroid:
see and read and decide for yourself i have performance myself,i like speed:D

--Ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (“up threshold”), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed. (Stock currently kernels have this built in)

--Conservative - sets the CPU speed in a similar way to the ondemand governor, but scales the CPU up much less rapidly. This would theoretically save battery power, but may lead to less responsiveness.

--Powersave - Always keeps the CPU at the minimum set frequency. There is no 'trying to stay at the minimum' there is it WILL stay at the minimum no questions asked.

--Performance - It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.

--Smartass - The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.

--Interactive - Available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.

--Userspace - This governor is currently useless. A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.

++Except for "userspace," no matter which governor you set, the CPU will always stay within the bounds of the maximum and minimum speeds you set in SetCPU.

edit:dorimanx maybe you can post this in the first page so everyone can read an decide..:)
[HD2 Android NAND Development] Hinnne:
modified version of rafpinga 2.0 oc (please try for magldr)

Here is a modified version of rafpinga 2.0 OC.

Dorimanx can you please try if it works and modify it.

Thanks

http://api.viglink.com/api/click?fo...20110807.zip&jsonp=vglnk_jsonp_13127185862044

Perhaps this one will boot on magldr version.

found it here:

http://xdaforums.com/showthread.php?t=933951&page=1566
[HD2 Android NAND Development] Voffchik:
I tried it but couldn't get used to it полное Г :-)

I installed GB keyboard from market
[HD2 Android NAND Development] sagytb:
Hi bro, I still have drain issue with the last fix.

I have Tmobile and I have installed the magldr version.

I am not using WIFI and it seems that the signal is lower then the previous version (before the fix).

Please advice.
[HD2 Android NAND Development] dorimanx:
It's for CLK, cant work on MAG.
[HD2 Android NAND Development] dorimanx:
Yes i noticed that!

i have removed the 2.7.2.1 and working on 2.7.2.2

almost perfect! i have reached download speed from 1.6Mbits to 2.5Mbits!!!

and connection is switching from 3G to H when low signal! this wasn't working before!

So for now i have discovered that we need to do this:

open any dialer!

*#*#4636#*#* and choose WCDMA (0) and not GSM (auto)

This will speed up the DATA by 100%!

I will Update the GUIDE about this tweak on main page...

The GSM (auto) disable the HSPDA and leave us with GSM only...

in different words it's SUCKS!!! please revert back to WCDMA if you changed that!

i will upload the new fixed build.prop soon, also i have removed tweak that made WIFI not usable to some people...

so dont worry.

EDIT:

UPLOADED 2.7.2.2 FIX!

Now update or from 2.7.0 or from 2.7.1.1

This is finally solved the DATA slow connection! this was bothering me so long!

No more slow DATA :)

Fix updated according this:

http://xdaforums.com/showpost.php?p=5123531&postcount=46

http://xdaforums.com/showthread.php?t=595108

Please report back.
[HD2 Android NAND Development] gerardroid:
maybe these intructions will help:

Disable Adobe Flash. Being able to run Adobe Flash in web pages is a great, but it consumes battery life. If you have Adobe Flash installed on your smartphone, by default it's set to load every piece of Flash content on every web page. It's possible to change this so the browser only loads Flash when instructed to; open the browser, hit the menu key, go to Settings > Enable Plug-ins and set it to On Demand.

Tweak Microsoft Exchange. If you're connected to a Microsoft Exchange server for corporate email, calendar and contact sync, you may experience an abnormal amount of battery drain on your Android smartphone.the phones are experiencing a significant drop in battery life. Reducing the size of the email folder to below 150 MB might solve this issue. View your folder size in Outlook by right-clicking on your Inbox, then choosing Properties > General > Folder Size. Either archive or delete emails until the folder size is below 150 MB.

Update Your Apps. Applications often get updated to use less battery power; you should make sure your apps are up to date. Even if you selected "update automatically," some apps require that you manually install updates. Check for app updates in the Market app by hitting the menu key and going to My Apps.

Set display brightness to adjust automatically. Turning down the brightness is obvious. But the automatic adjustment setting is less well known. Activating it means the OS will automatically dim its display in darker environments, including seemingly well-lit indoor rooms.

Reduce e-mail, Twitter, and Facebook polling. This is a big one. Set your various messaging apps to "manual" and you'll instantly extend your device's battery life by a significant amount.

Turn hardware features off. It's great that today's phones have GPS, Wi-Fi, and Bluetooth, but do you really need all three activated 24 hours per day? Android keeps location-based apps resident in the background. The constant drain on the battery will become noticeable, fast. . If your phone has a Power Control widget, you can use it to quickly turn on/off GPS, Wi-Fi and Bluetooth.

Dump unnecessary home screen widgets. Just because they're sitting on the home screen, seemingly inactive, doesn't mean they're not consuming power. That goes for widgets that poll status updates in the background, as well as ones that just sit there but look pretty and animated.

Reduce RSS feed update frequency. Staying current with the news is fine, but why update feeds constantly in the background? Plenty of third-party apps set their defaults to poll at a set period of time. Others may offer a choice, but give no indication to the user that battery life will suffer as a result.

this one is important:

See what's hogging your battery. Navigate to Settings -> About Phone -> Battery Use to see an organized breakdown of what's using your phone's battery. Applications and features will display in a descending list of battery hogs. If you see an application you barely use or a feature you never use (Bluetooth), uninstall the app or turn off the feature.
[HD2 Android NAND Development] Hinnne:
magldr to clk without losing data

Hi

can someone help me with the following.

I want to try clk. How can I change from magldr to clk without losing data (sd-ext and system settings).

I want to do it like that posted guide

Running Most MAGLDR ROMs On cLK / Switching To cLK from MAGLDR With ROM;

http://xdaforums.com/showthread.php?t=1111081

But the linked file is missing here:

5) Download this file .

So what to do? I don`t want to loose all my settings.

Do you think clk is better for the future?

Thank you very much.

The dorimanx rom is really fast.
[HD2 Android NAND Development] miguelidanez:
I just update to 2.7.2.2, and changet to WCMDA Preferred as you recommend, but you tell in first page GSM (auto) was the best option, becase WCMD was more battery ungry.

I suspect the battery life will be lower with WCDMA option activaded...
[HD2 Android NAND Development] dorimanx:
I have fixed the GUIDE.

now with the tweaks, data connection will be dropped to 3G in case reception is low and this will make the signal high and less battery will be used to maintain H connection!

when reception is back to normal, it's will auto switch to H without disconnect call / DATA

Also when phone is idle then connection drooped to 3G! and save POWER,

when you wake it, it's switch to H :) SO COOL!

this wasn't working before! now i have finally fixed that with help from other devs!

no more SLOW DATA! Yeeeiii

Also i have uploaded to mirror possible FIX for Blur MMS and new Google Music Player look in Mirror / Others
[HD2 Android NAND Development] Rudyfastcat:
Flashed and testing CLK v2.7.2.2
[HD2 Android NAND Development] sahbaz:
i have installed 2.7.2.2 and it seems that my wifi problem is solved.

thanks
[HD2 Android NAND Development] Lit:
I try optimize framework-res.apk in Revert-To-Stock-Theme--155-With-Tablet-Tweaks.zip and all working. Maybe you trying optimize another .apk like Settings.apk, its no support this optimization.

I found solution how to make crond working http://www.imoseyon.com/2011/02/cron-on-android-is-awesome.html

But I dont like it. I trying run crond without adding user root..
[HD2 Android NAND Development] dorimanx:
DUDE! this is good INFO!!!

Thanks i was looking for that...

i can make ROM so much better by running tasks like clear cache clear SWAP clear RAM at 4AM if phone is IDLE, then we will not have too reboot to clear the junk!

This is Cool!

Thanks...
[HD2 Android NAND Development] Lit:
ya, I tired of pop-up text Script is runned .. bla-bla-bla every 30 min

Seems we need to create /etc/passwd with root entry

In other ways crond wont start.. need to learning it in detail
[HD2 Android NAND Development] pedmond:
2.7.2.2 seems to be much more power hungry than 2.7.1. I had 3-6 mA during sleep, now I'm getting at least 10 times that... I'm using high ROM CLK.

EDIT: turns out I just started to use high end and didn't install any task killer, so perhaps that was the cause. We'll see what happens now that I did :)
[HD2 Android NAND Development] Lextermina:
Dorimanx I tested your rom clk (the last) with updates and Rafpigna 2.0. after a lot of testing this kernel and really terrible! ultra fast! Browser and Market its ok for me now!
[HD2 Android NAND Development] MystaMagoo:
Can we have a consolidated rom please with all the updates and fixes,I'm running out of space on my sd card :p

Unless of course you are still working on some more fixes and will be releasing 2.7.3 soon :D
[HD2 Android NAND Development] feanor91:
Hi, just FYI, you can tell to Superuser to not pop message (in its parameters)

So, I'm back, Sense 3 roms are beautifull, but not very stable and smooth, problem with icons on desktop, glitch on animation...So I flash my new Dorimanx sooner and will very happy.
[HD2 Android NAND Development] justaguyh:
Fc all the time on android.process.media. this happens after trying to download from the market.
[HD2 Android NAND Development] Shahaf.vodi:
Just flash the "ROM-Dorimanx-2.7.2-UPDATE-FIX-MEDIA-SERVER.zip" from the mirrors, works great ;)
[HD2 Android NAND Development] Schakel:
Dorimanx, i have a strange problem. I put my mobile yesterday evening on the adapter and went to bed. The adapter is on a clock so my phone loads up from 2 til 6 am. But when i watch this morning my phone was dead. The powerbutton didn't work, like all hardware buttons. So i had to pull the battery.

Then put the phone on the adapter again because it had only 15% left. When i came back to check it was the same. The orange led was burning, unplugged my phone, orange led keep burning and the phone won't start. So had to pull the battery again.

This happend 2 other times this day.

I use the High-End Mag 2.7.2 rom with the Update for media server and Nightly 156.

Ohh, it happend again while i'm typing this.

Could you take a look at my problem. Because i want to stay on this awesome rom!

Thanx

PS sorry for my bad english, i'm dutch.
[HD2 Android NAND Development] Lextermina:
Make Build With Raf 2.0 really good!
[HD2 Android NAND Development] dorimanx:
this is ok, this root have no password, and we have full root already on our phone.

I will work on script for cron,

how did you sent massage to screen via script?

can you share ;-)

thanks

Sent from my Dorimanx Rom on HTC HD2
[HD2 Android NAND Development] dorimanx:
so is it terrible or ultra fast? you mixed all in one post ;-)

Sent from my Dorimanx Rom on HTC HD2
[HD2 Android NAND Development] dorimanx:
for now we are on 2.7.2.2 when I finish cron script I will post full ROM with latest nightly and all updates included.

Sent from my Dorimanx Rom on HTC HD2
[HD2 Android NAND Development] dorimanx:
please update to 2.7.2.2 probably your wifi stuck / data and drained all power and stuck the phone, this was due wrong network settings, I have fixed all in latest update. :D

Sent from my Dorimanx Rom on HTC HD2
[HD2 Android NAND Development] Schakel:
Ok, i updated to 2.7.2.2. When i have the problem again, i'll give a call.

Thanx! :)
[HD2 Android NAND Development] pedmond:
Does it have any advantages over Tytung?
[HD2 Android NAND Development] Hinnne:
sound output volume very much too low

I changed from magldr to clk.

with hd2 toolkit: task 29 - flash clk with recovery - flash clk rom and all updates - restore magldr data backup.

I installed rafpinga Kernel.

Problem: maximum sound output is very much too low.

(music player, ringtone,...)

I don´t know if it is a kernel problem or a clk problem.

I go back to normal clk version with tytung.

If this isn`t the problem i will have to go back to magldr.

I deleted the dsp manager file befpre installing the rom because I use volume+.

Could that be the problem?
[HD2 Android NAND Development] Hinnne:
Ok back to tytung r10 sound volume is ok.

I don't know about the bug but with rafpinga the sound is very much too low.
[HD2 Android NAND Development] Lextermina:
Volume its ok on clk with drittzle ! beautiful performance!
[HD2 Android NAND Development] Hinnne:
volume with rafpinga kernel

Ok tried it again.

flashed rafpinga 2.0 OC and libaudio_v2-drizztje-CWM.zip sound is loud like with tytung r10.

Thank you.

By the way: I use smartass. Did you overclock to... rafpingas kernel?
[HD2 Android NAND Development] dorimanx:
thanks for updates from clk kernel testers ;-)

so i see that i can say that kernel from rafpinga is working ok on clk!

please check with OC, and test performance with quadrant advanced and post pick or final result, what i need to know is the io result in numbers ;-)

test 5 times and post the highest.

thanks. great job so far.

Sent from my Dorimanx Rom on HTC HD2
[HD2 Android NAND Development] Hinnne:
I only find newest quadrant standard . Old version does not work on gingerbread. Which governor to test? Overclocking to? What did you get with tytung kernel? I don t think benchmarks are the right thing to say if a kernel is better than an other. I think rafpingas is very good and newer and there will be more updates soon.