yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Themes and Apps] Sahaab:
Please tell me the error you get, i will help you in solving it

This is made for stock kernel, althought it will work most probably on every kernel and rom.

---------------------------------------------------------------------------------------------------------------------

-------------------------This is a Easy Way to Increase Internal Memory-------------------------

---------------------------------------------------------------------------------------------------------------------

It Moves System Apps Dalvik Cache to the Cache Partition in Your Internal Memory, with no loss in performance

Use This On Your Own Responsibility, I Will Not Be Held Responsible For Anything

I have Tested it on my Arc S and got 60mb more free, I have a total of 67 apps installed

ScreenShot:

Credits:

1.Alberto96

2.tobbbie

(both provided codes which i read and understood)

Compatibility:

It Should Be Compatible With Most Phones With a Cache Partition

Requirements:

Please make sure u are rooted

Please have the latest busybox, To install busybox : https://play.google.com/store/apps/details?id=stericson.busybox

An app like Script Manager ( I use : https://play.google.com/store/apps/...GwsMSwxLDEsIm9zLnRvb2xzLnNjcmlwdG1hbmFnZXIiXQ..)

Also a Rom/kernel that has Init.d Support ( I use this guide to add init.d support to my rom : http://xdaforums.com/showthread.php?t=1405590 )

Also Please Make Sure You Have Your SDcard Inserted on reboots and that you have around 50-100mb free in your SDcard

Instructions:

Download The Files

Run 02SystemDalvikToCache Using Script Manager (Only need to run once)Run as SU

Put 02DalviktoCacheBoot in Your Init.D Folder and set right permissions

To Uninstall:

Remove The 02DalviktoCacheBoot script from init.d folder

Reboot to recovery And Wipe Dalvik Cache (Or you can use an app that wipes dalvik Cache)

FYI:

02SystemDalviktoCache moves System Applications Dalvik Cache to the Cache partition

02DalviktoCacheBoot copies Dalvik Cache from sdcard to Cache partition to prevent Bootloop

Ignore All Errors Given By Script Manager, They Do Not Affect The Work of The Script

The reason i dont have a script to move dalvik-cache of apps in sdcard is because they are usually higher than 100mb, if i need some more space, or if these scripts are used i will make a script to move sdcard apps dalvik-cache to dev folder

Download:

https://www.dropbox.com/sh/5ertwdtb17bciwa/pTaaxewnJX

If You Get A Boot loop, Please Go Into Recovery, Wipe Dalvik Cache and Reboot

Warning: Please watch out that your cache partition has around 100mb limit (102mb on arc s)

Important: Please make sure to read the instructions and also the FYI section is very helpful

[SCRIPT] Dalvik To Cache

​
[Xperia Arc Themes and Apps] xange:
Great mod. But plz put there is a disadvantage of using this mod. Most phone's Cache partition only have 100mb+- size volume (my neo has 101.5mb using neo v ftf). move whole dalvik cache to cache partition is possible but it will limit the number of apps you install since cache partition is small (my phone have 185mb of dalvik cache with 212 apps including system apps installed), It will come out some error if you install more apps if the cache partition is full.

*I'm just giving an advice to put on op for using this mod. Not giving bad comment. thanks

regards.
[Xperia Arc Themes and Apps] Sahaab:
Thanks i will edit it

p.s i put something like it in the FYI section

Also this script only moves the dalvik cache by system apps

Edit: This will only increase the amount of apps u can install :D

Most system apps dalvik cache only take around 50-70mb space

I am going to make a script to move the dalvik cache of apps in the sd card (usually taking around 150mb) to the dev partition, which usually has 160mb free, but it will be really limiting, so only gonna make it per request
[Xperia Arc Themes and Apps] Sahaab:
Removed DataDalviktoCache
[Xperia Arc Themes and Apps] Sahaab:
I really dont think ppl will install soo many system apps as to fill the 100mb with the dalvik-cache's
[Xperia Arc Themes and Apps] xange:
The size of dalvik is depend on apps' dex file. Some may be large, some maybe small. And dalvik doesn't solely for system but both system and user's app on data and external. For me, base system apps there are 130? If install mods like cybershot, album, walkman, Google now..... You should know what is their size right? ;)and if with games? Utilities like Google keep? Drive? It takes even more... From my experience, stock neo ftf give 135mb space at v_mtd partition. There is a kernel store dalvik at it. Which limit my apps number stuck at 190 both system and user. With data free space 250mb, that's how I learnt my lesson.

And, I like the idea moving cache to sd, I got a 32 Gb sd but dunno how to spend the space :p

Edit: sorry, didn't notice only moving system apps dalvik. In that case I think it is more than enough..... XD
[Xperia Arc Themes and Apps] Sahaab:
That the awesum part of this script

It only touches the dalvik cache of apps in the system partition

I have apps like walkman, album,cybershot, and google now installed

I have 144 system apps and 67 installed apps

And sdcard is slow for storing dalvik-cache

Cache partition is faster

Edit: haha np XD
[Xperia Arc Themes and Apps] Ali Iraqi:
You rock Sahaab :D i got 60 mb thank you :good: :good: :good: :good:
[Xperia Arc Themes and Apps] Aliostar:
work like a charm

Thank you it's working :cyclops: :cyclops:
[Xperia Arc Themes and Apps] Sahaab:
Thanx for testing guyz

Sent from my LT18i
[Xperia Arc Themes and Apps] Sahaab:
My MntDalviktoDev script + SystemDalviktoCache script :D

View attachment 2067739View attachment 2067740

Sent from my LT18i
[Xperia Arc Themes and Apps] Sahaab:
*Updated Script*

It now tells what it is doing at every step , makes it more user-friendly

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
Iam facing fc of many apps, with this script, why?
[Xperia Arc Themes and Apps] Sahaab:
U didnt install right

Plz wipe dalvik-cache

Run the script using script manager

And place the init.d script in init.d folder (plz make sure ur rom or kernel has init.d support or else u will face FC's like these after a boot)

Read OP for more details

Sent from my LT18i
[Xperia Arc Themes and Apps] Sahaab:
*Updated Script*

Fixed errors recieved when backing up dalvik-cache

Now also shows the size of dalvik cache transferred and the backed up dalvik cache

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
Thanks! I just missed step, that i need to.wipe davlik cache first ;)
[Xperia Arc Themes and Apps] Sahaab:
Okay, is it working good now?

Sent from my LT18i
[Xperia Arc Themes and Apps] Sahaab:
*Updated*

You can now run script as many times as you want without wiping dalvik-Cache :D

Sent from my LT18i
[Xperia Arc Themes and Apps] Sahaab:
Please Report All Your Problems, I Will Help You Fix Them
[Xperia Arc Themes and Apps] willietw85:
nice
[Xperia Arc Themes and Apps] Sahaab:
Thank you :D
[Xperia Arc Themes and Apps] jonke11:
Still facing fc
[Xperia Arc Themes and Apps] Sahaab:
Can u tell me what script manager says?

and do u run as SuperUser (sorry forgot to mention this)

Sent from my LT18i
[Xperia Arc Themes and Apps] Sahaab:
Also do u have latest busybox? 1.21

Sent from my LT18i
[Xperia Arc Themes and Apps] a546109781:
if apps be odexed that does not work

sorry for my bad english
[Xperia Arc Themes and Apps] Sahaab:
Ya it shud not bcuz then dalvik-cache of those apps are not made, their .odex files are saved in /system/app (as far as i know)

But if their are .dex files of the apps in dalvik-cache, this script will work

Sent from my LT18i
[Xperia Arc Themes and Apps] Sahaab:
Also i have noticed that only files in /system/framework are odexed

The apps in /system/app are nt odexed and will have a .dex (dalvik-cache) file

So most probably the script will work

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
Showing errors in every line.

Yes i ran that script as SU.

Yes, i have latest busybox ;)
[Xperia Arc Themes and Apps] Sahaab:
WHat error does it give

Maybe provide a screenshot?

Im sorry for the trouble

Jst gonna need a little info to be able to help you out

Also can u tell which kernel u use?

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
Iam using Inteks kernel and Jelly Dream 4.0 Rom.

Look, this is errors
[Xperia Arc Themes and Apps] Sahaab:
Could you plz re install the latest busybox using the busybox installer on first page

And also if u wnt the script has been updated u can download that

It looks like ur busybox isnt complete and doesnt contain the 'cp' code

Edit: also use the smart install option in the installer

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
Still same ;)

Faceing fc, but now no errors
[Xperia Arc Themes and Apps] Sahaab:
OKAY

Do u wipe dalvik-cache each time?

Also does ur kernel change partition sizes?

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
Yes.

But about kernel i dont know.;)
[Xperia Arc Themes and Apps] Sahaab:
Do u have a app called link2sd?

If u do open storage info in it and check how much free space u hv in the cache partition

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
99,7 mb ;)
[Xperia Arc Themes and Apps] Sahaab:
Hmm is the rom CM based?

Edit: okay i see that its nt

There is no rzn y it shudnt work :-/

R u sure ur nt running the bootscript?

And are u sure u have init.d support?

Do u get FC's after a boot or after running the script?

Sent from my LT18i
[Xperia Arc Themes and Apps] jonke11:
Yes iam sure, mate ;)

I get FC's after reboot ;)
[Xperia Arc Themes and Apps] Sahaab:
Theres the problem :D

Either u dnt got init.d support

Or u didnt place 02DalviktoCacheBoot script in the init.d folder

U can activte init.d support in ur rom using the link i have given on the opening post :D

Sent from my LT18i
[Xperia Arc Themes and Apps] tamingsarix:
Dont work with aosp 4.2 custom kernel?
[Xperia Arc Themes and Apps] Sahaab:
Sorry dont know

Locked bootloader XD

Try it i guess

If it doesnt work wipe dalvik in CWM

Sent from my C5306
[Nexus 4 Q&A, Help & Troubleshooting] The-Robot:
I want to buy a new smartphone. I've read a lot of reviews and decided to buy nexus 4 but I found issues said by many people on the internet summarized in 3 sentences

1)the battery life of nexus is too short and the battery drains fast

2)the overheating problem

3)the breaking of back glass without being touched !!!?

do those issues really exist ?

So I'm confused right now and don't know which smartphone should i get note II or nexus 4

two things i don't like in Note II, its horrible size and its plastic back cover !
[Nexus 4 Q&A, Help & Troubleshooting] stevemw:
What can anyone say? I have not experienced an abnormally short battery life or overheating and my back is still in one piece. I am happy with my choice of buying the Nexus 4.
[Nexus 4 Q&A, Help & Troubleshooting] housry23:
Only you can decide which phone to buy. Nexus 4 is a good choice, but it's glass. It won't break on its own, but it will really break if dropped without protection. Battery life is not great but not terrible. It's your best bang for the buck though.
[Nexus 4 Q&A, Help & Troubleshooting] nikufellow:
The issues you mentioned do exist but mostly dependant on how you handle your device - you can't expect a glass covered device to survive without any smudges in your pocket with keys unless there is a case protecting it. Nexus 4 as a whole is worth buying even with these minor flaws IMHO
[Nexus 4 Q&A, Help & Troubleshooting] The-Robot:
I'll bring The Ringke Fusion Cover case if i buy nexus 4 to protect it . but I mean if this smartphone does have many flaws and would make me feel regret if i bought it . so I simply could buy another one .

With my budget I can buy S III , xperia TX or one s if they are better than nexus ! ?.

Thanks all
[Nexus 4 Q&A, Help & Troubleshooting] nikufellow:
^nope, trust me you won't regret. And regarding your other options it all depends on your preference and what you actually plan on doing with your device - for example if a better camera and expandable storage is what you need and you don't mind the looks of the device then you'd be better off with the likes of s3
[Nexus 4 Q&A, Help & Troubleshooting] The-Robot:
I don't care too much about the camera and the storage because i'am pleased with the nexus camera and the 16 GB internal memory . I care most about the look of the device and its build quality . that's why i chose the nexus 4 at first ! .
[Nexus 4 Q&A, Help & Troubleshooting] gravitysandwich:
First if all I get 5 and a half hours of screen on time (sot) with music on all the time (headphones) and YouTube xda Facebook Google + browsing..... Etc. phone idles around 38°C and in use about 42°C (perfectly normal temps). This is all on paranoid android and Franco kernel. My back glass scratches so bad but no cracks. If anything there are many strong cases for the back and methods of reducing overheating (setting the threshold lower in Franco kernel or any other one) and battery is great. I have a rev 11 so many of these issues will be fixed in the newer revs. If you do buy one. But I managed these problems well. So go for it:)
[Nexus 4 Q&A, Help & Troubleshooting] tr1cky1:
So I dropped my N4 from around 1,50m on a tile floor, nothing happened. I guess this phone breaks as easy as any other phone.

The other problems are software related, Franco Kernel helps alot against overheating problems and against bad battery life.

Common hsic wakelock problems can also be fixed using apps like Green Power.
[Nexus 4 Q&A, Help & Troubleshooting] trentreed:
Buy it!!
[Nexus 4 Q&A, Help & Troubleshooting] rayiskon:
Take my (and everyone's) advice and get the nexus4, you won't regret it. I don't have any of the problems you mentioned, nor do my 3 friends with a nex4 also. If the greatest camera is not a priority, you don't have anything to think about then, just get it ;)

The only problems you might face could be software related (delayed notifications over wifi etc..) , but all these have their solutions on xda (or just wait for the upcoming official update).
[Nexus 4 Q&A, Help & Troubleshooting] IRX120:
Yes

Sent from my Nexus 4 @1.944 GHz on Stock 4.2.2
[Nexus 4 Q&A, Help & Troubleshooting] blsrbl:
Same situation here. I'm between the nexus 4 and the Note II. I love the nexus phones more than any other phones for their fast updates, stock android, designs (nexus 4's design kills me :p) and the hacking community. What i like about the Note II is the bigger screen, storage, longer battery life, LTE...and what i hate about it is its huge size, TouchWiz UI and its bad design. I don't know, i think i'm gonna pick the nexus 4.
[Nexus 4 Q&A, Help & Troubleshooting] Overdose1986:
After 7 moths I really love my Nexus 4 that still in mint condition, and I'm thinking on buying another for my girlfriend but Im not so sure about it...

I mean the Nexus 4 is great for a flashaholic like me, also looks amazing, but I think that maybe Vanilla android isn't for her... I mean the Nexus 4 isn't a girls phone...

Im between the Nexus 4, Xperia T, iPhone 4S or others like HTC one X or GS3
[Nexus 4 Q&A, Help & Troubleshooting] The-Robot:
Thanks all for your comments .

Now I'm almost convinced to buy the nexus 4 . but I want to know is it impotant to buy it with warranty or not ?

The last thing remained that I'm worried about the glass back cover .

I don't want to pay around 535$ (with warranty) 470$ (without warranty) and lose the money in one second if I unintentionally drop it

Yes . In my country smartphones are much more expensive than their real prices
[Nexus 4 Q&A, Help & Troubleshooting] gothicasshole:
I'm sure they make an otter box for it

http://www.amazon.com/gp/aw/s/ref=p...=10173260971454758056&hvdev=m&hvexid=&hvqmt=e
[Nexus 4 Q&A, Help & Troubleshooting] Tunderpimp:
I work in the road and have dropped my phone a few times with no damage so far. Never had it overheat. Battery on the stock rom was average.

This phone is for flashing, with Franco kernel my battery life is amazing.

Oh I have a cruzerlite case
[Nexus 4 Q&A, Help & Troubleshooting] blsrbl:
How is your battery life with franco kernal?
[Nexus 4 Q&A, Help & Troubleshooting] neuroval:
My girlfriend loves the N4 I got for her and hers is totally stock, don't know if she even updates her apps LOL
[Nexus 4 Q&A, Help & Troubleshooting] br0ok1ynb0i:
you won't regret the n4, and if your on t-mobile you can activate LTE by flashing old radio. If battery and s-pen is important then go with the note II. The battery on that thing is unreal lol.
[Nexus 4 Q&A, Help & Troubleshooting] warhawk120:
The nexus 4 is great phone it has a Qualcomm Snapdragon s4 pro clocked st 1.5 GHz with 2g of ram 720p display jelly bean 4.2 out the box and its cheap why wouldn't you buy it
[Nexus 4 Q&A, Help & Troubleshooting] gothicasshole:
If I wasn't in employed ATM I would buy it no hesitation
[Nexus 4 Q&A, Help & Troubleshooting] nedooo:
It is 768p and Jelly Bean 4.2.2 :p
[Nexus 4 Q&A, Help & Troubleshooting] blsrbl:
Small screen especially with the navigation buttons.
[Nexus 4 Q&A, Help & Troubleshooting] estallings15:
There are several ways to reclaim your screen by getting rid of the nav bar.
[Nexus 4 Q&A, Help & Troubleshooting] tiru.adi13:
Everything's great except battery life on heavy gaming......

It goes down to just 1.5-2 hrs of screen time :/

Sent from my Nexus 4

------------------------------------

Devices:

LG Google Nexus 4 16 GB

Samsung Google Nexus 10 32 GB

Sony Ericsson Xperia Mini ST15i (Retired * Sold)

Nokia C7 (Sold)

HTC TyTn II (Sold)

Motorola RAZR v3 (broken)

Sony Ericsson W705 (broken)

------------------------------------
[Nexus 4 Q&A, Help & Troubleshooting] The-Robot:
Thanks all for your replies

My concern is about the issues of the phone not its specs !. A huge numbers of threads and questions on the internet talking about its issues. That's why i'm worried. I'm afraird of buying nexus 4 then having problems with it after a while. For example, In this page (youtube website-TheSmokingAndroid profile-LGNexus4:My Review & Opinion video)

someone asked the reviewer about the defects he's gotten in his phone. His question was "What kind of manufacturing defects/issues did u face in ur Nexus 4? i am actually importing it through others 'cause i am in﻿ a Nexus non-available part of the world so i could check those stuffs specifically to the person i'm importing from !!". His reply was "well, you shouldn't have these issues any more, but my screen became unresponsive, also the power and volume buttons were very loose. And there was a rattling noise in the phone when you shook it. But i believe they've revised it and no one should have those problems any more﻿ =) ". That was 2 months ago

Update:

Sony xperia z is available for me to buy with a pretty good price. So is it better than nexus 4 ???.
[Nexus 4 Q&A, Help & Troubleshooting] cougzzz:
Should I buy the nexus 4 or wait for the next generation of the nexus phone towards the end of the year?
[Nexus 4 Q&A, Help & Troubleshooting] Chris_n00bz:
I believe xperia z has similar size with Note 2, so if you hated big size phone, you might wanna pass on that phone.

It's hard to tell whether you will get defective product or not. I mean, who will know about it before buying the phone.. LoL

In my case, my phone did rattling a bit when I shake it.. LoL. Anyway, it's been 4 months and nothing happened. It's still working perfectly fine. It has pretty poor battery life but you can always flash franco kernel.

Lastly, if you are really worried about getting defective product, you can always opt for another models/brands.
[Nexus 4 Q&A, Help & Troubleshooting] blsrbl:
Does LTE work with GSM versions?
[Nexus 4 Q&A, Help & Troubleshooting] gothicasshole:
Depends some peoe in Canada got it to work a bit but idk I stopped following it its possible but don't keep your fingers crossed depends on the bands your gsm carrier has
[Nexus 4 Q&A, Help & Troubleshooting] br0ok1ynb0i:
only works on t-mobile usa and canada telus, if you dont have any of these lte isnt going to work no matter what you do. But honestly even thou I have LTE set up, I just leave it on HSPA.
[Nexus 4 Q&A, Help & Troubleshooting] rebj2007:
Dropped many times. Even no case and it didn't break. The phone is worth it for the money.
[Nexus 4 Q&A, Help & Troubleshooting] br0ok1ynb0i:
Honestly it does not even matter what phone you have. I guarantee you, if you wanted to, you can find a flaw in every phone in the market. I'll be honest with you there are little things that aren't perfect on the N4 that I wish was better. But in the end of the day the positive things on this phone outweighs the negatives to a large margin.
[Nexus 4 Q&A, Help & Troubleshooting] gothicasshole:
Yup no phones perfect take my htc one x+ s-off isn't achieved (most likely won't ever) lot of stuff I would like to do I can't WiFi is questionable some times battery life sucks at times it all depends on you what you like to do and what your storage needs are
[HTC Droid DNA] :
So I should not be doing this on so little sleep, obviously. I have a Verizon HTC Droid DNA, Moonshine S-off, TWRP, and I had CarbonROM on it, but I was having issues so after some fumbling around and trying different things, I was at a loss. So I wiped all data and formatted. Well, before this, for some damn reason, I think I turned USB Debug off. Now I can't get into Fastboot USB. Am I totally screwed? My PC won't communicate with the phone.

HELP!
[HTC Droid DNA] zone23:
Actually its difficult to be "totally screwed" you can always hold the power + volume down until the phone boots into HBoot. Once your in HBoot again fastboot should work if it doesn't then that generally a driver issue. Once your back in HBoot you can select fastboot and that will give you the option to boot back into recovery. Once you get into recovery again I would select sideload and flash the ROM using "adb sideload <rom name>" making sure your in the adb directory and so is the ROM. Hope this helps.
[HTC Droid DNA] :
Yeah, I can still get into fastboot (just not fastboot usb) and recovery, but my PC and phone aren't talking when they were before I started screwing around.

Sent from my Nexus 7 - Carbon Rom
[HTC Droid DNA] RLGL:
PC driver issue, go into device manager and load new driver
[HTC Droid DNA] :
I'll take a look

Sent from my Nexus 7 - Carbon Rom
[HTC Droid DNA] :
Yeah, I'm not even getting the Windows sound like I connected anything. Usually it'll tell you no drivers or unsuccessful installation or something!
[HTC Droid DNA] :
Holy crap... well you were right... it was a driver issue. I reinstalled the HTC drivers and I got FASTBOOT USB now... thank goodness!
[HTC Droid DNA] :
I feel like my brain isn't working. How do I now get my .zip on my device using fastboot so I can then get into recovery and flash it?
[HTC Droid DNA] :
Nevermind... booted to recovery, used adb to push my .zip to device
[HTC Droid DNA] trickster2369:
Glad you got it figured out.

It's always fun to watch people talk to themselves. :laugh:
[HTC Droid DNA] hawkstwelve:
I think I did the exact as you. Tried to get fancy with things too early in the morning and ended up formatting data. I was wondering how you pushed the zip for the ROM onto your device using adb? I can get adb to discover my device as long as its in recovery but I'm not sure of the commands it takes to push a file like that onto your sdcard in order to reflash it in recovery.

Any help greatly appreciated.
[HTC Droid DNA] RLGL:
Even more fun when they answer themselves;)
[HTC Droid DNA] :
First, make sure your .zip is in the same folder as your adb. Then in your cmd window, (assuming you're in the correct directory) type "adb push ROM.zip /sdcard/ROM.zip" replacing ROM with the EXACT name of the ROM file and including the .zip piece on both ends.

And yes, I know first hand how amusing it is, and somewhat gratifying watching someone figure it out on their own. I could not, however, have done it without you guys. I assumed since my phone was communicating not 10 minutes earlier with my PC, it wasn't a driver issue. But in the end, that's exactly what it was.
[HTC Droid DNA] RLGL:
Enjoy
[HTC Droid DNA] hawkstwelve:
Thanks that worked! Back to loving viper.