yashsingh1/xdaforums huggingface dataset:
[One (M7) General] scotty1223:
ok,so this is our best guess as to what the filled out partition table looks like,based on the locations/sizes of partitions compared to the m7 table i have:

cat proc/partitions
major minor #blocks name

7 0 44730 loop0
179 0 30535680 mmcblk0
179 1 128 mmcblk0p1 sbl1
179 2 256 mmcblk0p2 sbl2
179 3 130671 mmcblk0p3 pg1fs
179 4 1 mmcblk0p4 ?
179 5 16 mmcblk0p5 board_info
179 6 256 mmcblk0p6 mfg
179 7 15577 mmcblk0p7 pg2fs
179 8 256 mmcblk0p8 sbl2_update
179 9 1024 mmcblk0p9 sbl3
179 10 256 mmcblk0p10 rpm
179 11 2048 mmcblk0p11 tz
179 12 2080 mmcblk0p12 hboot
179 13 5120 mmcblk0p13 sp1
179 14 1024 mmcblk0p14 wifi
179 15 1024 mmcblk0p15 dsps
179 16 61441 mmcblk0p16 adsp
179 17 8190 mmcblk0p17 radio_config
179 18 5120 mmcblk0p18 wcnss
179 19 27647 mmcblk0p19 reserve_1
179 20 1022 mmcblk0p20 misc
179 21 4096 mmcblk0p21 modem_st1
179 22 4096 mmcblk0p22 modem_st2
179 23 20480 mmcblk0p23 devlog
179 24 4 mmcblk0p24 debug_config
179 25 256 mmcblk0p25 pdata
179 26 16 mmcblk0p26 control
179 27 1280 mmcblk0p27 local
179 28 64 mmcblk0p28 extra
179 29 1024 mmcblk0p29 cdma_record
179 30 256 mmcblk0p30 skylink
179 31 25600 mmcblk0p31 carrier
179 32 72870 mmcblk0p32 reserve
179 33 54270 mmcblk0p33 reserve_2
179 34 76800 mmcblk0p34 radio
179 35 98303 mmcblk0p35 reserve_3
179 36 16384 mmcblk0p36 boot
179 37 16383 mmcblk0p37 recovery
179 38 2424831 mmcblk0p38 system
179 39 393215 mmcblk0p39 cache
179 40 27000832 mmcblk0p40 userdata
179 64 31341568 mmcblk1
179 65 31340544 mmcblk1p1
254 0 44730 dm-0

you can back them all up,if you want to. just change the x to the number of each partition:

dd if=/dev/block/mmcblk0px of=/sdcard/mmcblk0px

aka,

dd if=/dev/block/mmcblk0p1 of=/sdcard/mmcblk0p1

dd if=/dev/block/mmcblk0p2 of=/sdcard/mmcblk0p2

and so on.

be aware that the bigger ones will take several minutes to copy,so its not hung if it seems to be taking forever. ;) after youre done move them all to your PC and rename them according to the above table. if you need help here,let me know,but you seem to have a pretty good idea what youre doing.

you can make up your own unsinged ruu(i did this same thing before t mobile had released ruus).

in the home made ruu,youll want to include:

-an android info document(well work on that later)

-adsp

-boot

-hboot

-radio

-recovery

-rpm

-sbl1

-sbl2

-sbl3

-sp1

-system

-tz

i would like to look at mmcblk: 3,4,6,7,and 12 so if you upload those somewhere,and pm me a link(they have some personal info like esn,meid,etc so dont post a link publicly)

hopefully this will all help with the reservations you have about s off,and possibly be of use to some other folks as well. holler if you have questions :)
[One (M7) General] H377:
Thank you so much really!

I will dump those partitions and will up load it somewhere but I guess it will be only tomorrow. :) Already started dumping the system and it really takes some time :D

Thank you so much for your kind help!!!!
[One (M7) General] scotty1223:
youre quite welcome for the help. no hurry on the uploads,its more of a curiosity than anything,im pretty sure they will be the same as what ive allready seen.

also,just to make sure i havent accidentally given any false impressions,you will only be able to flash your home made ruu after you s off,as it will not have htcs official signiture and will fail the signiture check on an s on device

also,if you dont mind at some point(no hurry) can you paste for me the results of

fastboot getvar all

make sure to xxx out your esn,meid,imie :)
[One (M7) General] H377:
Hmm this is very strange: If I start the phone in fastboot mode Windows doesn't recognize the device.... Although the drivers are installed....
[One (M7) General] scotty1223:
What windows are you running? 8 and 8.1 are prollematic,as is USB 3.0.

You can try unplug/replug and different ports and cables.

Make sure nothing is running on the pc that talk to the phone- HTC sync,pda net,easy tether,even I tunes

Other than that,make sure the phone is in fastboot and not hboot
[One (M7) General] H377:
Yeah unfortunately it's Windows 8 so I will try it with Windows 7. Everything else should be just fine.

Is there a guide on how to create the custom RUU?
[One (M7) General] scotty1223:
Any luck?
[One (M7) General] wewenk:
I am on 802w China Unicom

as the topic is 802w, this is my getvar all

currently I'm on KitKat OS 4.21.1402.3

If necessary I will downgrade to 2.43 (latest Android 4.2.2)

---------- Post added at 07:27 PM ---------- Previous post was at 06:53 PM ----------

to get adb working on Windows 8.1 you need to download and install Update for Windows 8.1 (KB2917929)
[One (M7) General] H377:
I am off from home at the moment. I will give it a try on the weekend.
[One (M7) General] scotty1223:
i just realized i didnt answer this. in a nutshell,you will just rename your mmcblkopx files to the corresponding names based on the chard in post 6. ie,youll name mmcblk0p1 to sbl1.img(make sure you type in the .img extension so the files are converted to images) ,mmcblk0p2 to sbl2.img,and so on.

once youre done,youll just put the images,along with an android info text document together and zip them up. the text file well need to find in an OTApkg for your device,or make one up from scratch. it will contain info such as this:

modelid: PN0713000
cidnum: HTC__001
cidnum: HTC__E11
cidnum: HTC__102
cidnum: HTC__203
cidnum: HTC__405
cidnum: HTC__Y13
cidnum: HTC__304
cidnum: HTC__032
cidnum: HTC__A07
cidnum: HTC__J15
cidnum: HTC__016
mainver: 1.29.401.12
btype:1
aareport:1
hbootpreupdate:3

but it will have info thats relevant to your device. the images you use are up to you,but you can use the ones i suggested,also in post 6,for a fairly complete homemade ruu.

again,you cant flash it while s on,since it doesnt have htcs official siginture. hope that makes sense. :)
[One (M7) General] scotty1223:
no need to downgrade,i just need to look at a cuople partitions. if you guys want to lock/unlock,remove your tampered banner,and change your MID with adb,then i need to look at mmcblk0p3,mmcblk0p6,and mmcblk0p7 :)
[One (M7) General] wewenk:
[MENTION=3437245]scotty1223[/MENTION] okay so it mean we can build our own RUU?

Can we do it with s-on device? I want to build an Indonesian 802d ruu then
[One (M7) General] scotty1223:
No,you can't do it while s on,as everything but boot,system,and recovery is write protected. In order to make a complete ruu as described above,you'll need to be s off.

What you can do while s on is make a mini-ruu of sorts... Consisting of android info document,boot,system,and recovery. You can flash it while unlocked :)
[One (M7) General] wewenk:
Okay, now what can I help to continue our research to get 802w unlocked without htcdev?

That will be the first goal for this research correct?

So if success, can we get our stock reset? I mean like htc1guru reset

With htcdev, unlock bl will reset to factory, erase internal phone storage, then we losing htcsoundrecorder, flashlight, calculator etc.

With your method, will it reset too?
[One (M7) General] scotty1223:
No, sorry if I have that impression. No way to unlock without HTC Dev due to s on write protections.

The purpose here is to be able to flip between locked and unlocked easily, without htcdev, after s off.

Also to be able to achieve locked at all... Without manually changing this flag, best you can do using fastboot command is relocked.
[One (M7) General] wewenk:
Yes I mean with s-off :D
[One (M7) General] scotty1223:
ok,just making sure were on the same page :D yes,with this knowledge you can completely remove any visual traces of having htcdev unlocked. you can get back to stock **locked** with no tampered banner and even back to s on if you want(tho there is no reason,IMO)

and we can easily lock or unlock without htcdev with no data loss,etc.

what you can do if you want to help,is dump the partitions i mentioned in post 16 :)
[One (M7) General] wewenk:
Done dumping... Where should I upload it?
[One (M7) General] scotty1223:
Anywhere you have access to. Just pm me a link :)
[One (M7) General] wewenk:
Pm sent..
[One (M7) General] scotty1223:
Cool. I will take a look when I get home :)
[One (M7) General] scotty1223:
are there different model IDs for this device? or are all M7_DUG the PN0771000 MID?
[One (M7) General] wewenk:
There are PN0771000 and PN0772000
[One (M7) General] scotty1223:
Do you know the differences between them? ie is there a need or desire to change from one to the other?
[One (M7) General] wewenk:
Well I'm not sure.. but this two devices can use chinese firmware or russian/eu firmware
[One (M7) General] scotty1223:
ok,well hold off on mid changing for now. you guys should be able to use this thread to lock/unlock:

http://xdaforums.com/showthread.php?t=2475914

wewenk has provided a partition that shows the tampered flag should be in the same general location,but since he is not displaying the banner currently,we will need a dump of parittion 7 from H377 or someone who is still displaying the banner to determine exactly where that flag is.
[One (M7) General] wewenk:
Confirmed, works on 802w.. My bootloader is Locked again.
[One (M7) General] J_M_V_S:
I said it a long time ago...

http://xdaforums.com/showthread.php?p=47628206#post47628206

So, I don't really understand the purpose of this thread?
[One (M7) General] scotty1223:
well,obviously we didnt believe you ;)

actually,its just as you said... a long time ago. i have several threads here and get alot of responses daily,and i dont always remember. expeically from back in november.

we also are trying to find the tampered flag,so it can work as well. plus i wanted a place to discuss with H377 how to dump his recovery and make himself up an ruu that wasnt the lock/unlock or tampered thread. maybe the title should have been something different,i didnt put much thot in to it.

hope that is a satisfactory explanation :D
[One (M7) General] H377:
Yes, that's correct. At least everybody can find out how to dump the different partitions now.

So it's not useless....
[One (M7) General] J_M_V_S:
That's great! Thanks for clarifying. Actually, your tampered thread also works! I've tried that very same day on my own device.
[One (M7) General] scotty1223:
if you open up a typical modern htc ruu,it will contain the above. ideally,we would want to back up and be able to restore all the same images,however, to be honest,ive no idea where some of then come from. tp for exanmple,is the touch panel firmware,but it has no place on the partition table. some things,multiple images are included for different variants of the phone,for example,dzdate 16gb,32gb,etc. i suspect sbl1-1,sbl1-2,etc. are along the same lines.

the bottom line is simply that i dont know enough about what some of the images. running a somewhat incomplete "homemade ruu" could result in a mismatch of some firmware if updates are made along the way. tp especially,needs to match the rest of the rom and firmware,or the touch screen may not work :eek:

the recomendations made in post 6 were based on the images inside a home made ruu made from the htc one GPE,posted for a full conversion of other variants. when i made up an ruu for my t mobile variant,i included all them,and borrowed the tp from an ruu of the same era(an att 4.1 ruu in my case) not completely correct,but probably good enuff to get back a working phone in a pinch.

the rest of the partitions,3,4,6,7 and prolly a couple others are never touched by OTAs or RUUs... so their backup and restore is not too big a deal,unless we change them with a hex editor,lol. if those partitions were ever included wed have to be extremely careful not to flash them,as they could turn us s on,relocked,etc.

having said all that,dont forget that running an ruu in fastboot is not the only way to restore those partitions.

everything that you have dumped,you can put back with

dd if=/sdcard/mmcblk0px of=/dev/block/mmcblk0px

so,in theory restoring all partitions just like you dumped them will restore your phone to the exact same scenario it was in when you did the dumps. ive never done it,but it should work. in a pinch you could run the home made ruu and get the phone working,then use the dd command to restore all the rest.

one last thing,doing

dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0

dd if=/sdcard/mmcblk0 of=/dev/block/mmcblk0

should dump/restore all partitions in one lump. an image of everything,in other words,and not a bunch of little seperate ones. never personally done it,but,in theory,should work ;)
[One (M7) General] wewenk:
Hi there [MENTION=3437245]scotty1223[/MENTION]

Want to ask you something.

If I backup all the partition, then how to restore it?

Can I zip all the partition just like the ruu zip file?
[One (M7) General] adrenalize_:
QSC partition?

I wonder if you know which partition "QSC" is stored in? I assume that hboot knows which named image to put in which partition?

The reason I ask is I've slightly messed up my 802w by flashing the 4.4.2 x.x.402.x firmware when my handset was originally on 1402 Chinese firmware. Now SIM2 seems to only work on 1800MHz and not 900MHZ. Flashing firmware.zip or applying RUUs in RUU mode all give a Fail PU - partition update fail on QSC 100 except the 402 firmware - which have no RUUs so I can't downgrade or change back to 401 WWE. Oops.

Anyway I just wondered about QSC partition in case hboot checks the version and won't downgrade as I don't want to hijack the thread.
[One (M7) General] rasel800:
Guys, stupid question, is it possible to flash M7 ROM over 802w?

What will happen if I try to do so?
[One (M7) General] leonardojt:
I did that with custom Rom Android revolution and everything works fine except WiFi and second SIM, I wish any dev can help us.:rolleyes:
[One (M7) General] rasel800:
That's great. I'm really pissed off because all the custom ROMs are for M7 and surprisingly there is not even one goooood dammmmmm ROM for dual SIM.

I'll probably try one of the Sense 6.0 M7 ROM over 802w. BTW, did anyone try this already?
[One (M7) General] leonardojt:
I installed Android Revolution HD 62, its sense 6 Rom but you have to install the Rom using the latest TWRP recovery 2.7 for 802w. You must do wipe first before flashing the Rom. like I said second SIM and WiFi not working. :silly:
[One (M7) General] scotty1223:
sorry,not sure on this one.

did android revolution have 802 support?

my guess is that it does(unless 802 recovery is smart enuff to recognize an m7 rom,and shuffle things around),and i would caution you from trying to flash any old m7 rom onto dual sim 802. the partition tables are different,and it seems recovery would be attempting to flash system to reserve_3,and boot to reserve_2 :eek:

m7:

major minor #blocks name

179 0 30535680 mmcblk0
179 1 128 mmcblk0p1 sbl1
179 2 256 mmcblk0p2 sbl2
179 3 130671 mmcblk0p3 pg1fs
179 4 1 mmcblk0p4 ?
179 5 16 mmcblk0p5 board_info
179 6 256 mmcblk0p6 mfg
179 7 15577 mmcblk0p7 pg2fs
179 8 256 mmcblk0p8 sbl2_update
179 9 1024 mmcblk0p9 sbl3
179 10 256 mmcblk0p10 rpm
179 11 2048 mmcblk0p11 tz
179 12 2080 mmcblk0p12 hboot
179 13 5120 mmcblk0p13 sp1
179 14 1024 mmcblk0p14 wifi
179 15 1024 mmcblk0p15 dsps
179 16 61441 mmcblk0p16 adsp
179 17 8190 mmcblk0p17 radio_config
179 18 32768 mmcblk0p18 reserve_1
179 19 1022 mmcblk0p19 misc
179 20 4096 mmcblk0p20 modem_st1
179 21 4096 mmcblk0p21 modem_st2
179 22 20480 mmcblk0p22 devlog
179 23 4 mmcblk0p23 debug_config
179 24 256 mmcblk0p24 pdata
179 25 16 mmcblk0p25 control
179 26 1280 mmcblk0p26 local
179 27 64 mmcblk0p27 extra
179 28 1024 mmcblk0p28 cdma_record
179 29 98727 mmcblk0p29 reserve
179 30 54270 mmcblk0p30 reserve_2
179 31 76800 mmcblk0p31 radio
179 32 98303 mmcblk0p32 ?
179 33 16384 mmcblk0p33 boot
179 34 16383 mmcblk0p34 recovery
179 35 1900543 mmcblk0p35 system
179 36 655359 mmcblk0p36 cache
179 37 27262976 mmcblk0p37 userdata
[One (M7) General] criszz:
no one don't want make a m7 sense 6 port for dual sim, even is not so diffficult. that's why we use kang version :((

maybe if we change the install partitionn to fit 802w will work
[One (M7) General] rasel800:
Ok, but is there a way to find out if Android Revolution WiFi issues is driver issue or something. Or may be we can try to replace with 802w driver...

Second SIM I don't care, but WiFi needs to be working.
[One (M7) General] criszz:
m8 , i dont' belive that rom worked in that way like he said

if that worked will be an easy fix to add _dd__ss phone apk's and make second sim to work , but i think that rom never worked on 802w
[One (M7) General] rasel800:
sorry,not sure on this one.

[quote name="leonardojt" post=52263562]I did that with custom Rom Android revolution and everything works fine except WiFi and second SIM, I wish any dev can help us.:rolleyes:[/QUOTE]

did android revolution have 802 support?

my guess is that it does(unless 802 recovery is smart enuff to recognize an m7 rom,and shuffle things around),and i would caution you from trying to flash any old m7 rom onto dual sim 802. the partition tables are different,and it seems recovery would be attempting to flash system to reserve_3,and boot to reserve_2 :eek:

m7:

[/QUOTE]

But still whatever mess is made by the other ROMs while flashing, I can still flash the default/official 802w ROM and fix all partition and other issues, right?
[One (M7) General] criszz:
yes, i did that twice :))
[One (M7) General] rasel800:
I didn't know there is a kang version. I will search now...:)

But still it surprises me, how come there is no one to build ROMs for 802w. At least there should be Cyanogenmod or AOSP builds...:mad::mad::mad:

Seems like it's time I start studying ROM cooking process and build something myself...:(:(:(

---------- Post added at 02:43 PM ---------- Previous post was at 02:23 PM ----------

The part attracted my attention most is "even is not so difficult". But please tell me something, to make both SIMs work, Sense 6.0 needs to have the capability to detect both SIMs and work with both SIMs for calls, SMS etc. right?

Question is, does the M7 Sense 6.0 has the capability?

Otherwise even porting M7 Sense 6.0 to 802w will not be able to detect second SIM, right?
[One (M7) General] criszz:
look at that >>> http://drive.google.com/file/d/0Bzwq8_00PhMULVdfNDhLNUdUeU0/edit?usp=sharing

>>> http://drive.google.com/file/d/0Bzwq8_00PhMUT1BmVmtQSFdmY3M/edit?usp=sharing

basicaly is blinkfeed port but that is sense 6 prism running my phone 802w
[One (M7) General] scotty1223:
No. A rom flash will only install boot and system to their correct locations. It will do nothing to repair the partitions corrupted by the m7 rom.

IF the Rom doesn't brick the device,you will need an ruu to fix
[One (M7) General] criszz:
hi mike, can you help us with sense 6 port ? :P
[One (M7) General] leonardojt:
do you want me to send a video or pictures of what I did, the amazing thing is I don't have to do anything special apart from the normal process of installing any custom Rom. if I do will you fix the second SIM for us. Or do you want me to show the steps for other 802w owners to try. And it doesn't mess up anything on the phone cos it works flawlessly and I was able to recover my backup Rom from recovery. if you can help us fix both WiFi and second SIM. Then one community will be one because other developers will follow to welcome us to the community.:D
[One (M7) General] criszz:
yes i wan't to see

also i want exact recovery you use and link to rom

if that woork im sure i can make sim 2 to work, don't know about wi-fi
[One (M7) General] leonardojt:
Here you go. As you can see from the pictures SIM 2 not recognize. I'm even presently using the Rom. It's very fast and smooth.Note if you experience a black screen after flashing the Rom instead of reboot, just hold down the volume down button and power until the phone reboot. That's all.:D
[One (M7) General] leonardojt:
Here you go. As you can see from the pictures SIM 2 not recognize. I'm even presently using the Rom. It's very fast and smooth.Note if you experience a black screen after flashing the Rom instead of reboot, just hold down the volume down button and power until the phone reboot. That's all.:D

Rom link

http://xdaforums.com/showthread.php?t=2183023

Recovery link(choose HTC_802w_TWRP_recovery_2.7.0.0.7z)

http://xdaforums.com/showthread.php?t=2559891
[One (M7) General] criszz:
link to rom please i don't see v 62

maybe you can upload

edit >>>> found it, wish me luck :P
[One (M7) General] leonardojt:
here is the link to the main site.

http://android-revolution-hd.blogspot.in/p/android-revolution-hd-mirror-site-var.html?m=1

but unfortunately the v62 was deleted by site to be replaced by v63. And I cannot upload mine due to limited data and poor network. I believe sense 6 based Rom will work because they all build off the same port.:)
[One (M7) General] criszz:
first try: starting well , no sim at all, no wifi :")), strange dual sim manager is present but unfunctional :P

second try: with dual sim kk sense 5.5 kernel >>> the same. no radio at all, restoring my old bakup to see if partition table or radio is messed up ; restored ok , radio still there, installing arhd 62 again

third try: with kenrel on 36 partition = no boot :((

last try : normal install, changed radio type and region default.xml in ACC folder, boot, no radio , sense loading, no wifi :(((
[One (M7) General] leonardojt:
wow you do well, i am impress.
[One (M7) General] criszz:
thx, i do my best, but .. no luck , i dont have signal at all :((

what sim is your working one?
[One (M7) General] rasel800:
Another stupid question out of curiosity, is it possible to boot any ROMs through Android SDK in the laptop/desktop?

I mean, like replace the default android image with a HTC ROM and boot like a virtual device in from the SDK manager or something...
[One (M7) General] leonardojt:
Mine is SIM slot one that worked, what happened? which firmware were you using before flashing, mine just worked directly without flashing kernel separately. PLUS when I restored my original backup I decided to flash the Rom without wipe and it worked. I think you should try that.
[One (M7) General] criszz:
tryed but not booting
[One (M7) General] criszz:
is somene here who can help me with partitions mmcblk0p17 mmcblk0p21 mmcblk0p22 of a device 802w xx.402.x (nordic) firmware?

all partition will be more helpfull. please
[One (M7) General] ZelonStrike:
My HTC One Dual Sim 802w (S-ON, Locked) stopped working after a failed firmware RUU.exe.

HTC logo on a black background and triangles at the corners. The Bootloader does not go . Any Firmware, RUU is not installed correctly in the QSC file. What to do? Help
[Sony Tablet S] trubster:
I have OTA updated 4.0.3 (release5a) before seeing all the warnings

I then tried doing the CFW patch using the AIO tool and got Status 7 - am I right in thinking that is because I was a muppet and did the first OTA update....... WHEN WILL I LEARN?????

Now google play would not download anything, now its working.

It is now asking to OTA the same version, will I lose my root? is it worth updating or is it just the fake OTA updates I was warned about when trying to put the CFW on?

Just checked my root and it works.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] anees02:
Is the mja Knox-free?

If it's yes....could I flash it alone without flashing whole stock mja .tar file?

I have mf9 bootloader at the moment.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] sputnik767:
It has KNOX. And I am not sure what flashing it alone would get you anyway.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] anees02:
If it has knox I will not flash it now.

By flashing it I want to test it with kikat 4.4.2 of android.
[Galaxy S III Mini Q&A, Help & Troubleshooting] iAndr0id:
hello,

can someone upload the golden kernel v2, hotfile is down and I need this kernel !

Thanks
[Galaxy S III Mini Q&A, Help & Troubleshooting] piskor:
Download link is available on kernel thread http://xdaforums.com/showpost.php?p=49655670&postcount=283
[Galaxy S III Mini Q&A, Help & Troubleshooting] iAndr0id:
Thanks a lot !