PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   [TESTING] - NAND OMGB (1.2.3) (http://forum.ppcgeeks.com/showthread.php?t=147260)

mbellot 02-23-2012 01:11 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by muziling (Post 2170160)
Need WIFI partition data , seems can not access in android .
Fastboot can access WIFI partition, but no dump option to dump out data.

If you find a way gimme a shout and I'll try dumping my 400 for you.

[ACL] 02-23-2012 01:49 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by Starfox (Post 2170125)
I thought TPCAL and WIFI was off-limits?

-- Starfox

yeah but how would it replace itself with a rhod100? This is why im thinking muzling is doing something really advanced or just testing the limits of nand.

If you wipe the WIFI partition (which i dont know if we can since it may be protected by the oem bootloader), then in reality you are wiping wifi nvram, serial, variant along with some other good stuff).

[ACL] 02-23-2012 01:52 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by muziling (Post 2170137)
Just use that commands to erase partition in fastboot.
I don't want to express out and repair my phone again.... and seem impossible to change RHOD100 to RHOD400 by NBH, Or someone can dump these partitions data, then flash back to my phone


non_writeable, but write by fastboot... OK, who can give me wifi partition data
Code:

    ptable_add(&flash_ptable, "WIFI", MTD_WFI_CDMA/0x20000,
            MTD_MISC/0x20000, 0, TYPE_APPS_PARTITION, PERM_NON_WRITEABLE);

Use Need a dump to build recovery. - Android Forums


wifi parition is unique to every device. Someone elses wont help. Go back to winmo and stop breaking your device. lol

muziling 02-23-2012 01:56 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by [ACL] (Post 2170170)
yeah but how would it replace itself with a rhod100? This is why im thinking muzling is doing something really advanced or just testing the limits of nand.

If you wipe the WIFI partition (which i dont know if we can since it may be protected by the oem bootloader), then in reality you are wiping wifi nvram, serial, variant along with some other good stuff).

Wifi partition not protected , can be earased by fastboot..., if erase, phone will turn to rhod100, last nbh can flash, but it's no problem
If it's unique for every phone, don't know how riffbox repaired this.

Maybe spl detect wifi partition data, if verify fail, defaut to rhod100.
BTW,still can use NAND,hack NBH to let it think my phone is rhod400, but when call in/out, screen will not wakeup anymore except reboot.

[ACL] 02-23-2012 01:58 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by mbellot (Post 2170145)
Full blown, old school, hard lock-up tonight.

The phone was awake (playing a game of Sudoku) when it went into space.

A couple observations that may (or may not) matter.

1. Happened shortly after booting (less than 10 minutes), the LED was still OFF, not orange or green
2. Display stayed on
3. Key backlight stayed on
4. I happened to notice right before the lock-up that it looked like I lost reception, grayed out signal meter with tiny "x" at the left side and no data icon (1x or 3G). It seemed like as soon as I got signal back (two bars, still no data icon) it froze up.

I waited twenty minutes to see if it would sleep/recover so I could pull full logs but no dice. I finally resorted to the little red button and only got last_kmsg.

If I'm reading it right, it's your old friend SMD causing a kernel panic. Hopefully these logs shed new light on the problem.

Yep you are right.. good ol smd. Not sure how much time ill get to spend on this but ill take a look.

[ACL] 02-23-2012 02:00 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by muziling (Post 2170174)
Wifi partition not protected , can be earased by fastboot...
If it's unique for every phone, don't know how riffbox repaired this.

sucks, i was hoping the oem bootloader would protect it but i guess not. So if this is true, then why the hell are you erasing it ? it doesnt automatically erase it you know.

Edit: not sure what riffbox does. All i know whats included inside that partition isnt shared between devices.

muziling 02-23-2012 02:14 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by [ACL] (Post 2170177)
sucks, i was hoping the oem bootloader would protect it but i guess not. So if this is true, then why the hell are you erasing it ? it doesnt automatically erase it you know.

Edit: not sure what riffbox does. All i know whats included inside that partition isnt shared between devices.

Maybe only S/N, wifi mac different. Last NBHs, erase wifi partition, no problem.

[ACL] 02-23-2012 02:19 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by muziling (Post 2170180)
Maybe only S/N, wifi mac different. Last NBHs, erase wifi partition, no problem.

ok, stop erasing your wifi partition .lol..

I can't write code to protect you .. i already went out of my way to read nand and double check with mem. Figure that would be enough but somehow you seemed to find a way. :sign5:

edit: in the past there was a hardcoded value to prevent this but then we wouldnt be able to update LK so i had to remove it. Seriously this can get dangerous so dont mess around with some of this stuff. We have no idea what other partitions are writeable.

muziling 02-23-2012 05:08 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by mbellot (Post 2170164)
If you find a way gimme a shout and I'll try dumping my 400 for you.

Use USB cable to flash this nbh under three color screen: http://muziling.googlecode.com/files..._PARTITION.zip
(This NBH is build from ACL git code, just hack for android can see wifi partition)

Then in android ,use command to dump it out.
Code:

cat /dev/mtd/mtd7ro > /sdcard/wifi.raw
Post wifi.raw to me, thx

htrakr 02-23-2012 05:57 PM

Re: [TESTING] - NAND OMGB (1.2.3)
 
How do I change the LED from doing sleep debug to notifications. (I have never had any sleep issues). I tried the xdaledregime apk from GBX0B but it doesnt do anything.

Also I was playing with the minfree values and set it too aggressive (8, 16, 32, 48, 64, 96) as there was constant launcher redraw. This resulted in bootloop (like killall zygote, not complete reboot). I had to wipe and reflash from cwm. Is there someway to put in the code somewhere where it fixes these values automatically if it cannot boot instead of a bootloop.


All times are GMT -4. The time now is 10:40 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0