restore to stock rom/image

This forum is for all other ARMv5 devices

Re: restore to stock rom/image

Postby WarheadsSE » Thu Jan 17, 2013 2:57 pm

That should work, or, pacman -S mtd-utils
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: restore to stock rom/image

Postby leckmaul666 » Thu Jan 17, 2013 8:29 pm

pacman -S mtd-utils

failed:

$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman -S mtd-utils
resolving dependencies...
looking for inter-conflicts...

Targets (1): mtd-utils-1.4.1-1

Total Download Size: 0.19 MiB
Total Installed Size: 0.99 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
error: failed retrieving file 'mtd-utils-1.4.1-1-arm.pkg.tar.xz' from mirror.arc
hlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files from core
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.')


and socialtom. this way also failed:( its not poassible i give it up
leckmaul666
 
Posts: 43
Joined: Sat Dec 22, 2012 11:52 pm

Re: restore to stock rom/image

Postby WarheadsSE » Thu Jan 17, 2013 8:32 pm

You need to update your listings.

pacman -Sy mtd-utils
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: restore to stock rom/image

Postby leckmaul666 » Fri Jan 18, 2013 8:10 pm

not going

$this->bbcode_second_pass_code('', 'Last login: Thu Jan 17 14:21:03 2013 from 192.168.2.2
[root@alarm ~]# pacman -Sy mtd-utils
:: Synchronizing package databases...
core 40.4 KiB 202K/s 00:00 [######################] 100%
extra 454.0 KiB 336K/s 00:01 [######################] 100%
community 468.2 KiB 337K/s 00:01 [######################] 100%
aur 13.6 KiB 109K/s 00:00 [######################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y+

resolving dependencies...
looking for inter-conflicts...

Targets (2): lzo2-2.06-1 mtd-utils-1.5.0-1

Total Download Size: 0.22 MiB
Total Installed Size: 1.30 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
lzo2-2.06-1-arm 67.0 KiB 250K/s 00:00 [######################] 100%
:: Retrieving packages from aur...
mtd-utils-1.5.0-1-arm 155.5 KiB 361K/s 00:00 [######################] 100%
(2/2) checking package integrity [######################] 100%
(2/2) loading package files [######################] 100%
(2/2) checking for file conflicts [######################] 100%
(1/2) installing lzo2 [######################] 100%
(2/2) installing mtd-utils [######################] 100%
[root@alarm ~]# pacman -S mtd-utils
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...

Targets (32): bash-4.2.042-1 ca-certificates-20121105-1 coreutils-8.20-1
cracklib-2.8.19-1 curl-7.28.1-1 db-5.3.21-1 e2fsprogs-1.42.6-1
gawk-4.0.2-1 gcc-libs-4.7.2-3 glibc-2.17-1 gmp-5.1.0-1
gnupg-2.0.19-3 libarchive-3.0.4-2 libgssglue-0.4-1
libldap-2.4.33-3 libssh2-1.4.3-1 libtirpc-0.2.2-4
linux-api-headers-3.7.1-1 openssl-1.0.1.c-1
pacman-mirrorlist-20130102-1 pam-1.1.6-1 pambase-20130113-1
perl-5.16.2-2 pinentry-0.8.2-1 readline-6.2.004-1
run-parts-4.3.4-1 sed-4.2.2-1 shadow-4.1.5.1-3 tzdata-2012j-1
util-linux-2.22.2-1 xz-5.0.4-1 pacman-4.0.3-5

Total Download Size: 35.96 MiB
Total Installed Size: 177.58 MiB
Net Upgrade Size: 1.31 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
linux-api-headers-3... 591.9 KiB 328K/s 00:02 [######################] 100%
tzdata-2012j-1-any 141.4 KiB 312K/s 00:00 [######################] 100%
glibc-2.17-1-arm 7.3 MiB 341K/s 00:22 [######################] 100%
readline-6.2.004-1-arm 289.1 KiB 334K/s 00:01 [######################] 100%
bash-4.2.042-1-arm 731.5 KiB 213K/s 00:03 [######################] 100%
xz-5.0.4-1-arm 209.3 KiB 254K/s 00:01 [######################] 100%
gcc-libs-4.7.2-3-arm 519.6 KiB 325K/s 00:02 [######################] 100%
db-5.3.21-1-arm 1106.1 KiB 329K/s 00:03 [######################] 100%
cracklib-2.8.19-1-arm 237.7 KiB 316K/s 00:01 [######################] 100%
libgssglue-0.4-1-arm 24.8 KiB 155K/s 00:00 [######################] 100%
libtirpc-0.2.2-4-arm 152.9 KiB 300K/s 00:01 [######################] 100%
pambase-20130113-1-any 1016.0 B 6.29M/s 00:00 [######################] 100%
pam-1.1.6-1-arm 610.5 KiB 338K/s 00:02 [######################] 100%
gmp-5.1.0-1-arm 395.6 KiB 314K/s 00:01 [######################] 100%
coreutils-8.20-1-arm 1976.3 KiB 325K/s 00:06 [######################] 100%
perl-5.16.2-2-arm 11.8 MiB 314K/s 00:38 [######################] 100%
openssl-1.0.1.c-1-arm 2.2 MiB 349K/s 00:07 [######################] 100%
libarchive-3.0.4-2-arm 461.9 KiB 335K/s 00:01 [######################] 100%
run-parts-4.3.4-1-arm 18.7 KiB 392K/s 00:00 [######################] 100%
sed-4.2.2-1-arm 113.3 KiB 362K/s 00:00 [######################] 100%
ca-certificates-201... 134.6 KiB 361K/s 00:00 [######################] 100%
libssh2-1.4.3-1-arm 174.4 KiB 360K/s 00:00 [######################] 100%
curl-7.28.1-1-arm 501.3 KiB 359K/s 00:01 [######################] 100%
pacman-mirrorlist-2... 848.0 B 5.02M/s 00:00 [######################] 100%
pacman-4.0.3-5-arm 1023.8 KiB 354K/s 00:03 [######################] 100%
pinentry-0.8.2-1-arm 83.1 KiB 363K/s 00:00 [######################] 100%
gnupg-2.0.19-3-arm 1299.5 KiB 358K/s 00:04 [######################] 100%
gawk-4.0.2-1-arm 733.3 KiB 358K/s 00:02 [######################] 100%
shadow-4.1.5.1-3-arm 999.3 KiB 358K/s 00:03 [######################] 100%
util-linux-2.22.2-1-arm 1501.9 KiB 358K/s 00:04 [######################] 100%
e2fsprogs-1.42.6-1-arm 659.4 KiB 358K/s 00:02 [######################] 100%
libldap-2.4.33-3-arm 317.7 KiB 359K/s 00:01 [######################] 100%
(32/32) checking package integrity [######################] 100%
(32/32) loading package files [######################] 100%
(32/32) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
util-linux: /bin/kill exists in filesystem
util-linux: /sbin/sulogin exists in filesystem
util-linux: /usr/bin/mesg exists in filesystem
util-linux: /usr/bin/utmpdump exists in filesystem
util-linux: /usr/bin/wall exists in filesystem
util-linux: /usr/share/man/man1/kill.1.gz exists in filesystem
util-linux: /usr/share/man/man1/mesg.1.gz exists in filesystem
util-linux: /usr/share/man/man1/utmpdump.1.gz exists in filesystem
util-linux: /usr/share/man/man1/wall.1.gz exists in filesystem
util-linux: /usr/share/man/man8/sulogin.8.gz exists in filesystem
Errors occurred, no packages were upgraded.')
leckmaul666
 
Posts: 43
Joined: Sat Dec 22, 2012 11:52 pm

Re: restore to stock rom/image

Postby WarheadsSE » Fri Jan 18, 2013 8:15 pm

I want to kick you.

You don't need to do an SYU or upgrade pacman. Just install mtd-utils!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: restore to stock rom/image

Postby leckmaul666 » Fri Jan 18, 2013 8:47 pm

ups. dont kick me:)
ok i got but...
look. argl i hate this box i hate linux i hate my self. pls sorry for that loook

the img. i download form your site is in /tmp. hm.. do u have a tipp for me... ;)

$this->bbcode_second_pass_code('', 'Last login: Fri Jan 18 14:38:07 2013 from 192.168.2.2
[root@alarm ~]# cd tmp
[root@alarm tmp]# dir
P01-stock-kernel.0x200000.img
[root@alarm tmp]# flash_erase /dev/mtd1 0x200000 24
Erasing 128 Kibyte @ 4e0000 -- 100 % complete
[root@alarm tmp]# nandwrite -ns 0x200000 P01-stock-kernel.0x200000.img
libmtd: error!: "P01-stock-kernel.0x200000.img" is not a character device
nandwrite: error!: mtd_get_dev_info failed
[root@alarm tmp]#')
leckmaul666
 
Posts: 43
Joined: Sat Dec 22, 2012 11:52 pm

Re: restore to stock rom/image

Postby WarheadsSE » Fri Jan 18, 2013 8:54 pm

you missed the output device.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: restore to stock rom/image

Postby leckmaul666 » Fri Jan 18, 2013 9:44 pm

Ok and what is the output device. Oh man its hard for me i dont know anything about this.heeelp
leckmaul666
 
Posts: 43
Joined: Sat Dec 22, 2012 11:52 pm

Re: restore to stock rom/image

Postby WarheadsSE » Fri Jan 18, 2013 9:54 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'K'), then there is an image on my rescueme for the pro stock kernel
$this->bbcode_second_pass_code('', '
flash_erase /dev/mtd1 0x200000 24
nandwrite -ns 0x200000 P01-stock-kernel.0x200000.img
')


That should have read
$this->bbcode_second_pass_code('', 'nandwrite -ns 0x200000 /dev/mtd1 P01-stock-kernel.0x200000.img')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: restore to stock rom/image

Postby leckmaul666 » Sat Jan 19, 2013 12:58 am

very kuhl its done. but
wot can i do that my box will be in the original firmware booting. without sata and so on:)

step by step thank u a lot!
leckmaul666
 
Posts: 43
Joined: Sat Dec 22, 2012 11:52 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 54 guests