Deleted for obvious reasons - XPERIA X10 General

Deleted for obvious reasons

Dude, really???
Sorry, i re read your post, and read it wrong the first time.
Do you have a recovery disk for your computer?
Sent from my X10a using XDA App

In sys folder there is looong kernel loop, that is the reason for so much files...
Sent from my E15i using XDA App

opposite of the /bro folder
ROFL! Dude.. reload your computer, try running Linux if you have at least dual core and download VirtualBox 4 - it's free - load Windaz as a virtual appliance and then your problem is only to back up to an external drive and keep a disc handy in case you crack your own bootloader by accident
<waffle>
If your really feel brave try open solaris, the Z file system is the Shizm! And runs VirtualBox.. Blades.. also has a better C implementation which is more compatible with Android, for that matter so does Free BSD.. yes aye
</waffle>
EDIT: This is a joke! - haha
on boot
export PATH /sbin:/system/sbin:/system/bin
export LD_LIBRARY_PATH /system/lib
mkdir /dev
mkdir /proc
mkdir /sys
mount tmpfs tmpfs /dev
mkdir /dev/pts
mkdir /dev/socket
mount devpts devpts /dev/pts
mount proc proc /proc
mount sysfs sysfs /sys'
ok so everytime you make a system call guess what? your appending to the /sys directory - your looking at processes between the kernel - It's like a infinite series of softlinks.. the only thing to worry about.. is when you hit the end!

Deleted for obvious reasons

Deleted for obvious reasons

I'm pretty good with computers and I can not fathom the epic screw up you have accomplished. Sorry for not being of help.
Sent from my Delorean using a flux capacitor!

Deleted for obvious reasons

Might as well post some screens. Worst case a dev will inform you that you haven't cracked anything.
Sent from my Delorean using a flux capacitor!

Deleted for obvious reasons

You need to get real. You haven't cracked anything and it does not skip anything mate.
People will get annoyed if you do this again. Please try to refrain from such statements, without adequate support of you're claims.

j.anderson618 said:
Well it skips the Sony Ericsson bootloader so I'm pretty sure
Sent from my X10i using XDA App
Click to expand...
Click to collapse
You have no idea what is the /sys and you crack the bootloader?
Perhaps you dont know what the bootloader is and missunderstoud something.
ps: if you have rw acces to the fs you can copy files to /system with astro and not with ghost com, plus the drocap2 will not need su rights to take a screen shot.
Maybe its time to start the "reading about *nix systems" procces. With su rights.

I would just change your name and start anew because you pretty much have everyone hating you right now.

Mister J said:
I would just change your name and start anew because you pretty much have everyone hating you right now.
Click to expand...
Click to collapse
Dont give him ideas lol
Sent from my X10a Running FreeX10

Related

Quadrant & DHD

Hi there,
as you might know, the SGS has very high quadrant scores.
This is due to people using the lag fix, which effectively disable the fync() called on the quadrant's database write operation and is cheating.
A SGS actually scores around 1800 at quadrant "without cheating" (cheating: http://android.chemlab.org/quadrant-rape.png)
Since all the noob web blogs and so-called journalists all use the quadrant table to show and decide if a phone is faster than the others, it would be interesting to apply the same cheat to the DHD and submit the quadrant score.
I would be interested in the results, both the number, but also the reaction of those various rather stupid blogs (hi engadget etc ;p)
As I have a SGS and no DHD (and do not plan to replace the SGS by one! ha!) here's how to proceed, prolly need a few adjustements to work on the DHD (as root, need a rebooted phone, adb of course)
At your own risk!
- create a big file:
dd if=/dev/zero of=/data/data.ext2 bs=1024 count=1048576
-create the loopmount node:
mknod /dev/loop0 b 7 0
-make it look like a real disk:
losetup /dev/loop0 /data/data.ext2
-format it
mkfs.ext2 /dev/loop0
-shuffle stuff around:
mkdir /data/data1
mount -o rw,noatime,nodiratime /dev/loop0 /data/data1
cp -r /data/data/ /data/data1/
mount -o bind /data/data1/data /data/data
cp -r /data/dalvik-cache/ /data/
mount -o bind /data/data1/dalvik-cache /data/dalvik-cache
If you reboot, it should still work alright without the cheat but you'll lose any new data between the cheat "activation" on the reboot of course.
Once enabled just run quadrant and check the score.
to disable, reboot and delete /data/data1 and /data/data.ext2
Once again, at your own risk, you might brick your phone etc doing this. Still would be interesting/fun to see.
SGs has around 1000 with stock fw...
DANGER
bilboa1 said:
Hi there,
as you might know, the SGS has very high quadrant scores.
This is due to people using the lag fix, which effectively disable the fync() called on the quadrant's database write operation and is cheating.
A SGS actually scores around 1800 at quadrant "without cheating" (cheating: http://android.chemlab.org/quadrant-rape.png)
Since all the noob web blogs and so-called journalists all use the quadrant table to show and decide if a phone is faster than the others, it would be interesting to apply the same cheat to the DHD and submit the quadrant score.
I would be interested in the results, both the number, but also the reaction of those various rather stupid blogs (hi engadget etc ;p)
As I have a SGS and no DHD (and do not plan to replace the SGS by one! ha!) here's how to proceed, prolly need a few adjustements to work on the DHD (as root, need a rebooted phone, adb of course)
At your own risk!
- create a big file:
dd if=/dev/zero of=/data/data.ext2 bs=1024 count=1048576
-create the loopmount node:
mknod /dev/loop0 b 7 0
-make it look like a real disk:
losetup /dev/loop0 /data/data.ext2
-format it
mkfs.ext2 /dev/loop0
-shuffle stuff around:
mkdir /data/data1
mount -o rw,noatime,nodiratime /dev/loop0 /data/data1
cp -r /data/data/ /data/data1/
mount -o bind /data/data1/data /data/data
cp -r /data/dalvik-cache/ /data/
mount -o bind /data/data1/dalvik-cache /data/dalvik-cache
If you reboot, it should still work alright without the cheat but you'll lose any new data between the cheat "activation" on the reboot of course.
Once enabled just run quadrant and check the score.
to disable, reboot and delete /data/data1 and /data/data.ext2
Once again, at your own risk, you might brick your phone etc doing this. Still would be interesting/fun to see.
Click to expand...
Click to collapse
DO NOT CARRY OUT THESE INSTRUCTIONS, YOU WILL MESS UP YOUR DHD.
Please do not post commands if you don't know what you are doing. Fool
bratfink said:
DO NOT CARRY OUT THESE INSTRUCTIONS, YOU WILL MESS UP YOUR DHD.
Please do not post commands if you don't know what you are doing. Fool
Click to expand...
Click to collapse
i think if he's confident in it working he should go ahead. I'd be interested to see if the DHD can achieve scores similar to the SGS.
bratfink said:
DO NOT CARRY OUT THESE INSTRUCTIONS, YOU WILL MESS UP YOUR DHD.
Click to expand...
Click to collapse
After a reboot the only difference will be a huge file /data/data.ext2 wasting space on the internal storage. Apart from that there is no change.
Please note:
- 1700 is without cheating, not "without lagfix". 1700 (in fact sometimes I score 1800) is with ext4 as native filesystem. Using "cheat" which is the most popular lagfix (it's slower than the real fix too...) you get 2000, 2500, 3000 even sometimes
- I did put warnings, that you've to know what you're doing, will robinson but if you do then you know its no big deal and how to recover if you mess things up somehow
Rolly-eyes
Yes i understand exactly what the commands do. But we are using busybox (without a kernel with ext2 support) to create the ext2 partition, thus once the phone has rebooted their will be a 1gb ext2 block in data/data. However as we havnt flashed another kernel that doesnt have ext2 support we cannot recognise ext2 (only yaffs2). And seeing as we dont have Odin like the sgs has without a proper recovery image (and amon_ra doesnt touch interal file formats) then we would not be able to regain the 1gb and bascially will be screwed. So yea do it if you want. And il buy ur HD brick of you for a 10a
bratfink said:
) then we would not be able to regain the 1gb and bascially will be screwed. So yea do it if you want. And il buy ur HD brick of you for a 10a
Click to expand...
Click to collapse
Untrue.
Just reboot and delete the 1 Gb file created with dd.
This is just a regular file that has been loop-mounted.
btw, if you REALLY want to cheat, make a ramdisk and dd the file in there (you can afford a 256/384 Mb file since the DHD sports 768 MB RAM).
How's THAT for speed?
Arrr!
^^
Here's a quick reminder how to achieve just that:
mount -t tmpfs none -o size=390m /data/data1
continue with the instructions from post #1 (but count the blocks for 384 MB, not for 1 Gb)
;]
adwinp said:
Untrue.
Just reboot and delete the 1 Gb file created with dd.
This is just a regular file that has been loop-mounted.
btw, if you REALLY want to cheat, make a ramdisk and dd the file in there (you can afford a 256/384 Mb file since the DHD sports 768 MB RAM).
How's THAT for speed?
Arrr!
^^
Here's a quick reminder how to achieve just that:
mount -t tmpfs none -o size=390m /data/data1
continue with the instructions from post #1 (but count the blocks for 384 MB, not for 1 Gb)
;]
Click to expand...
Click to collapse
'
Epic ramdisk would be epic. People need to realize that taking benchmark numbers at face value is stupid.
jords12 said:
'
Epic ramdisk would be epic. People need to realize that taking benchmark numbers at face value is stupid.
Click to expand...
Click to collapse
I always find this funny.
In any case, there's no way a regular user would be able to FULLY harness the power today's (1 GHz / 512+ MB RAM) smartphones.
Dual cores and + might come in handy if you're running a second OS in the background (for example, debian/ubuntu or gentoo in a chroot), with active services like ftp/ssh etc...

Symlinking the CACHE partition for extra space.

FAO stratosk and others.
I was not permitted to reply in the main dev thread, but I thought I'd share what I found that works for my Galaxy S.
Your original script worked perfectly apart from the changing ownership / group. For some reason on my rom, system.cache does not resolve into the correct UID / GID - which makes /cache eventually have a 'root' ownership and thus the market cannot access it.
The solution is to use
chown 1000:2001 /cache
chown -h 1000:2001 /cache
The second one changes the symlink as well as the target.
This has already been pointed out in a reply but it may have got lost amongst the others!
Will.
original thread - http://forum.xda-developers.com/showthread.php?t=1188972
torrentship said:
FAO stratosk and others.
I was not permitted to reply in the main dev thread, but I thought I'd share what I found that works for my Galaxy S.
Your original script worked perfectly apart from the changing ownership / group. For some reason on my rom, system.cache does not resolve into the correct UID / GID - which makes /cache eventually have a 'root' ownership and thus the market cannot access it.
The solution is to use
chown 1000:2001 /cache
chown -h 1000:2001 /cache
The second one changes the symlink as well as the target.
This has already been pointed out in a reply but it may have got lost amongst the others!
Will.
original thread - http://forum.xda-developers.com/showthread.php?t=1188972
Click to expand...
Click to collapse
Yeah, I had the same issue. Was surprised how it worked for others without changing the ownership.. I guess you were referring to my reply? ..
Btw, may I know why you can't post in the dev thread?
Hi,
I had seen someone make the same observation I did but I wondered if people had noticed because they were still saying the same thing; I thought it'd help saying it again but I get a feeling a lot of people probably don't know what symlinking is!
I'm surprised though as more and more games are over 30mb now. maybe done custom roms do this automatically?
I can't post in the dev forum because I would guess I don't have a high enough overall post-count.
will.
Sent from my GT-I9000 using XDA Premium App
I wonder how the "old" Market can download files larger then /cache partition, but the new one doesn't (version 3.0.27)? So Google could fix this using some other download location, if cache is small.

How to resolve / what is htcfs-main

Hi, I have problem with porting htc bliss rom, I getting logcat message "htcfs-main no mountpoint", what is htcfs and how to resolve problem with it, anyone know??
I could be wrong but it is specific to HTC and Sense based roms. htcfs-main is HTC the corporation name or handleTextchange from what i gathered from googling
http://sixgun.org/bugs/show_bug.cgi?format=multiple&id=14 and fs is file system and -main is probably the main file system. But read thru this and you can probably decipher it better than me. http://www.google.com/search?gcx=c&sourceid=chrome&ie=UTF-8&q=what+is+htcfs-main? once again Google is your friend. Hope this helps since this thread had over 40 veiws and no one bother to even respond.
Read through the init for the kernel, and look for anything relating to htcfs-main, and change it to "system" or whatever your sys fs is designated as.
I.e.
mount -t htcfs-main sys /sys
Or something along those lines.
Hopethis helps
Sent from my HD2 using xda premium
z3nful said:
Read through the init for the kernel, and look for anything relating to htcfs-main, and change it to "system" or whatever your sys fs is designated as.
I.e.
mount -t htcfs-main sys /sys
Or something along those lines.
Hopethis helps
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
Resolved!
insmod fuse.ko
mkdir /data/htcfs
mounted without problem:
service htcfs /system/bin/htcfs /data/htcfs -f -o allow_other
onrestart restart fusermount
onrestart restart umount

[Solved] Remove thread requested

Sup I know there is a hack for ext4 on the nexus s but haven't seen anything for the NS4G. Is it the same hack or what? If so it seems a little complicated to get going with the tutorial given. Does anybody have a better tutorial or if there is a different hack for the 4g can you direct me to it please? Much appreciated.
Sent from my Nexus S 4G using xda premium
Joshhayes801 said:
Sup I know there is a hack for ext4 on the nexus s but haven't seen anything for the NS4G. Is it the same hack or what? If so it seems a little complicated to get going with the tutorial given. Does anybody have a better tutorial or if there is a different hack for the 4g can you direct me to it please? Much appreciated.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
not sure what "ext4 hack" youre talking about, but there is an ext4 mount script. itll give you a little speed/performance kick overall. but its not really a hack, its a fix. type this in a terminal emulator app..
su(press enter)
mount -o remount,noauto_da_alloc /data /data(press enter)
youll have to type it in after each reboot. or you can use an app to run it after each boot. most custom kernels already include it or some version of it, stock doesnt include it.
Use dsixda's rom kitchen to unpack boot.img: http://forum.xda-developers.com/showthread.php?t=633246
Then do this: http://forum.xda-developers.com/private.php?do=showpm&pmid=4452832 and repack.
snandlal said:
Use dsixda's rom kitchen to unpack boot.img: http://forum.xda-developers.com/showthread.php?t=633246
Then do this: http://forum.xda-developers.com/private.php?do=showpm&pmid=4452832 and repack.
Click to expand...
Click to collapse
That second link seems to not work, it says this "Invalid Private Message specified. If you followed a valid link, please notify the administrator"
Joshhayes801 said:
That second link seems to not work, it says this "Invalid Private Message specified. If you followed a valid link, please notify the administrator"
Click to expand...
Click to collapse
fter unpacking the boot.img go to BOOT_EXTRACTED/ramdisk and open the file init.herring.rc and add the following in green to the following to lines and save:
Code:
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/system /system wait ro noauto_da_alloc
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/userdata /data wait noatime nosuid nodev noauto_da_alloc
Sorry bout that
Sweet. Thanks. I'll be doing this later after I run errands.
Sent from my Nexus S 4G using xda premium
snandlal said:
fter unpacking the boot.img go to BOOT_EXTRACTED/ramdisk and open the file init.herring.rc and add the following in green to the following to lines and save:
Code:
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/system /system wait ro noauto_da_alloc
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/userdata /data wait noatime nosuid nodev noauto_da_alloc
Click to expand...
Click to collapse
I think I've done everything right and getting ready to flash soon. How will I know if it worked?
So I did everything you said, repacked (no errors, everything worked fine) now when trying to flash it gives me this "error in/tmp/sideload/package.zip (status 6)" Do you have any clue why this would happen?
EDIT: NVM I fixed it.
I don't understand why people want to make it harder on themselves. just run the script, it does the same thing.
simms22 said:
I don't understand why people want to make it harder on themselves. just run the script, it does the same thing.
Click to expand...
Click to collapse
It's not really hard...it's actually kind of easy with that particular kitchen. Plus I am willing to do it all because I like learning.
Joshhayes801 said:
It's not really hard...it's actually kind of easy with that particular kitchen. Plus I am willing to do it all because I like learning.
Click to expand...
Click to collapse
good answer
Hmm
Tried to flash the repacked rom and got stuck in a bootloop. Really can't find anything on why this happened or how to fix. Restoring nandroid as we speak.
simms22 said:
good answer
Click to expand...
Click to collapse
Lol. yeah well we all gotta start somewhere. I practically live on xda as it is, so I may as well learn as much as I can and hopefully become a contributor in some way. It started as just wanting to dink sound with my own device but now that I know that I CAN do it. I want to go further with it.
Sent from my Nexus S 4G using xda premium

[Q] Why do some apps install in /data/app and some in /mnt/asec ??

I'm wondering why some apps are installed in standard /data/app (where I can take a backup of my data partition), and some in /mnt/asec (where they're not backup up)??
Furthermore, is there a way to force android to install apps to /data/app, which is where I would rather have them installed? And is there an easy way to move already installed apps from /mnt/asec to /data/app ??
Thanks in advance, I really hope someone can help me out here. When flashing a new rom, it would be so much easier if all apps were located in /data/app !! Thanks
ameinild said:
I'm wondering why some apps are installed in standard /data/app (where I can take a backup of my data partition), and some in /mnt/asec (where they're not backup up)??
Furthermore, is there a way to force android to install apps to /data/app, which is where I would rather have them installed? And is there an easy way to move already installed apps from /mnt/asec to /data/app ??
Thanks in advance, I really hope someone can help me out here. When flashing a new rom, it would be so much easier if all apps were located in /data/app !! Thanks
Click to expand...
Click to collapse
So after looking around for a bit, I think that the /mnt/asec folder is related to apps with copy-protection/DRM. What I found in my /mnt/asec directory was folders of only my purchased games, which are most likely DRM protected. So the answer to your question is that the /mnt/asec folder is for copy-protection. I may be wrong though.
Someone please correct me if I'm wrong
vorbatello said:
So after looking around for a bit, I think that the /mnt/asec folder is related to apps with copy-protection/DRM. What I found in my /mnt/asec directory was folders of only my purchased games, which are most likely DRM protected. So the answer to your question is that the /mnt/asec folder is for copy-protection. I may be wrong though.
Someone please correct me if I'm wrong
Click to expand...
Click to collapse
I think you're right. I also read somewhere that this is an encrypted volume for paid apps. Now, the interesting thing would be to find a way to circumvent this encryption to force all apps to the /data/app folder
I'm looking further into this...
ameinild said:
I think you're right. I also read somewhere that this is an encrypted volume for paid apps. Now, the interesting thing would be to find a way to circumvent this encryption to force all apps to the /data/app folder
I'm looking further into this...
Click to expand...
Click to collapse
Paul O'Brien had already done this on the One so perhaps ask him...
Sent from my Nexus 4 using xda premium
EddyOS said:
Paul O'Brien had already done this on the One so perhaps ask him...
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks for the help and constructive dialogue everyone. Because of this, I actually found Paul O'Brien's Xposed module which disables Play Store encryption, here:
http://www.modaco.com/topic/361776-xmod-disable-play-store-encryption-mntasec/
And I can confirm that this works exactly as expected on the Nexus 4!
So now I'm in the process of reinstalling my paid apps to /data/app, which enables me to take a complete backup of my data partition and restore it to any freshly installed ROM, paid apps included! :good:
Thanks for this!
It's a Google Thing...
Hi; Just started happening again with Jellybean.
I just use LINK2SD to decrypt and move them to the /data/* directory.
From there I can move them to the internal SD card or link to an External SD/TF card second partition.
Cheers,
BuBu

Categories

Resources