maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Neopwn on emmc!!!HELP!!! (https://talk.maemo.org/showthread.php?t=67824)

SalmanAbbas 2011-01-03 18:18

Neopwn on emmc!!!HELP!!!
 
first of all happy new year to all of you

ok people i was installing neopwn on my n900 through the instructions given on http://n900-pentesting.blogspot.com/...-internal.html

ok so this tutorial includes playing with fdisk and currently i have flahed my device through mido fayad's 5gb apps emmc image... so would that somehow effect the values to insert to fdisk???

thanx in advance

SalmanAbbas 2011-01-03 18:42

Re: Neopwn on emmc!!!HELP!!!
 
i dont actually know what fdisk does... i mean like what are partitions 1-4 or what actually is logical partition...any help would be greatly appreciated

tele 2011-01-03 18:46

Re: Neopwn on emmc!!!HELP!!!
 
fdisk repartitions the drive
e.g. if your MyDocs is 24gb, it might make it 22gb
and 2gb will be seperated for neopwn to be installed (depends on the numbers you will put it)

SalmanAbbas 2011-01-03 18:49

Re: Neopwn on emmc!!!HELP!!!
 
oh dammit...somehow i deleted MyDocs and storage usage only shows rootfs and 5gb home...any idea to quickly fix it... i dare not reboot

SalmanAbbas 2011-01-03 18:53

Re: Neopwn on emmc!!!HELP!!!
 
plz anyone???i am dead serious

SalmanAbbas 2011-01-03 19:01

Re: Neopwn on emmc!!!HELP!!!
 
no one?????

michaaa62 2011-01-03 19:04

Re: Neopwn on emmc!!!HELP!!!
 
I do not not know your setup:Please post the output of
Code:

sudo gainroot
sfdisk -l
mount


SalmanAbbas 2011-01-03 19:08

Re: Neopwn on emmc!!!HELP!!!
 
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
/dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writebac k)
/home/opt on /opt type none (bind)
nodev on /sys/kernel/debug type debugfs (0)
/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)
/home/user #

michaaa62 2011-01-03 19:12

Re: Neopwn on emmc!!!HELP!!!
 
MyDocs being not mounted, could mean still everything there. Please to verify the partition scheme of your device
Code:

sudo gainroot
sfdisk -l


SalmanAbbas 2011-01-03 19:17

Re: Neopwn on emmc!!!HELP!!!
 
Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 786560 786560 25169920 c W95 FAT32 (LBA)
/dev/mmcblk0p2 786561 950400 163840 5242880 83 Linux
/dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris
/dev/mmcblk0p4 0 - 0 0 0 Empty

michaaa62 2011-01-03 19:21

Re: Neopwn on emmc!!!HELP!!!
 
Looks fine so far. Please first check the file system (better safe, than sorry) and mount My Docs to verify nothing lost yet.
Code:

sudo gainroot
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs


SalmanAbbas 2011-01-03 19:28

Re: Neopwn on emmc!!!HELP!!!
 
omg thankyou thank you thankyou thankyou...i just cannot thank you enough for pulling me out of this mess...really thankyou...and if you dont mind can u plz tellme what had i done which resulted in mydocs dissappearing...my home is 5gb and mydocs is 24gb and if you are kind enough can u plz tellme what values to put through fdisk to make a separate partition of 4gb for neopwn... link is on my first page and perhaps if u scroll down there would be some commands to put into fdisk...once again thankyou very much

SalmanAbbas 2011-01-03 19:30

Re: Neopwn on emmc!!!HELP!!!
 
well lesson learnt the hard way

SalmanAbbas 2011-01-04 15:10

Re: Neopwn on emmc!!!HELP!!!
 
ok now how would i undo everything i did so far (for eg how to remove that neopwn icons that appear)

michaaa62 2011-01-04 17:20

Re: Neopwn on emmc!!!HELP!!!
 
This is to get rid of the copied files and folders. Please read carefully through the list to not remove anything of value for you.
Code:

sudo gainroot
rm usr/share/applications/hildon/neopwn.desktop
rm /usr/share/pixmaps/neopwn.png
rm /usr/bin/neopwn*
rm -rf /opt/neopwn
rm -rf /home/user/neo/
rm -rf /home/user/MyDocs/neo/



All times are GMT. The time now is 11:39.

vBulletin® Version 3.8.8