Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] HTC One J (HTL22) help with root please

OP moku160

22nd January 2014, 04:43 AM   |  #1  
OP Member
Thanks Meter: 3
 
59 posts
Join Date:Joined: Nov 2006
More
I bought a second hand HTL22 that was updated to the latest software and h-boot. Here are my specs

HBoot - 1.54.000
OS - 2.21.970.2

I payed someone on yahoo auctions japan[/URL] to S-Off it for me with plans to do the rest myself.

It came back with

CID - 111111111 - OK
S-OFF - OK

Upon getting it back I was able to unlock the Bootloader using the htcdev way and flash CWM and/or TWRP recoveries.

My issue now is that when I enter either recoveries, the partitions cannot be loaded nor can I sideload so I cannot root it. BUT I can boot fine into the OS...

I was thinking that its something to do with the partitions but right now I am at a loss. Does anyone have the partition table info for a stock HTL22 so I can at least compare? Really any advice would be welcome.


Thanks in advance.



UPDATE: Got everything to work and I will lay it out here - Unlock Bootloader, Root, Custom Rom, and Sim Unlock - Working on Softbank GSM

First of all everything that I did assumes that you have S-OFF and Super-CID and can adb/fastboot into your OneJ. This also assumes that all files you download will be put into the same folder as your adb and fastboot commands

1. Unlock Bootloader - I used the htcdec method
2. Install TWRP recovery - (Make sure you install the right recovery for your device and software version - this was my problem previously. If you install the wrong version you will not be able to mount your partitions and therefore cannot do the next step.
- Download the appropriate TWRP version from here: linkhttp://www.scottish-vinegar.com/%E5%...1%8D%E5%A0%B4/...I downloaded the 4.2.2 version
- *this step is optional and you can do it later but will save you bit of time to do it now
download SU and push it onto your device
Quote:

adb push UPDATE-SuperSU-v1.91 /sdcard/

- reboot into fastboot
-
Quote:

fastboot flash recovery twrp250-m7_wlj_422.img

--- Your file name may differ
- reboot into recovery
3. Root your device
- Click install
- browse to your sdcard and click your superuser file (if you did not previously download and put this file on your device you will have to reboot into your OS and do it now. Please look at the second step of the recovery section for more info
- reboot
4. Install Google Edition Rom *This step is optional but I dont know if your simunlock will work wiithout it as I didnt try
- Download rom for gsm here http://www.androidfilehost.com/?fid=23060877490001371
- push or use a file manager to put it on your phone
- reboot into recovery
Quote:

adb reboot recovery

- wipe cache, data, system
- install
- go back to install menu again and reinstall superuser
- reboot
5. Unlock Sim - info from here
- Download this
- install it to your device
Quote:

adb push mmcblk0p19 /sdcard/
adb shell
su
dd if=/sdcard/mmcblk0p19 of=/dev/block/mmcblk0p19

- run this command
Quote:

adb shell am start com.android.settings/.TestingSettings

- check your device and go into phone settings. Turn everything off except radio and set preferred network to LTE/GSM
- reboot

give it some time it should find and connect to your GSM network
Attached Thumbnails
Click image for larger version

Name:	picture004.jpg
Views:	849
Size:	84.4 KB
ID:	2531429  
Last edited by moku160; 13th February 2014 at 04:59 AM. Reason: updates to auction link
The Following 2 Users Say Thank You to moku160 For This Useful Post: [ View ]
22nd January 2014, 05:03 AM   |  #2  
BadAzDB's Avatar
Senior Member
Thanks Meter: 49
 
241 posts
Join Date:Joined: Sep 2013
Quote:
Originally Posted by moku160

I bought a second hand HTL22 that was updated to the latest software and h-boot. Here are my specs

HBoot - 1.54.000
OS - 2.21.970.2

I payed someone on yahoo auctions japan to S-Off it for me with plans to do the rest myself.

It came back with

CID - 111111111 - OK
S-OFF - OK

Upon getting it back I was able to unlock the Bootloader using the htcdev way and flash CWM and/or TWRP recoveries.

My issue now is that when I enter either recoveries, the partitions cannot be loaded nor can I sideload so I cannot root it. BUT I can boot fine into the OS...

I was thinking that its something to do with the partitions but right now I am at a loss. Does anyone have the partition table info for a stock HTL22 so I can at least compare? Really any advice would be welcome.


Thanks in advance.

Do you mean you don't have root access? If not then just flash supersu.zip if it's letting you flash things and you'll have root access. If you can't flash anything then try to use the toolkit to root it. If not then I would suggest formatting every partition. That should help

Sent from my HTC One using xda app-developers app
22nd January 2014, 05:13 AM   |  #3  
OP Member
Thanks Meter: 3
 
59 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by BadAzDB

Do you mean you don't have root access? If not then just flash supersu.zip if it's letting you flash things and you'll have root access. If you can't flash anything then try to use the toolkit to root it. If not then I would suggest formatting every partition. That should help

Sent from my HTC One using xda app-developers app

I tried flashing from fastboot and it wont let me, "FAILED (remote: not allowed)". I cannot flash from the recovery menus because it cannot mount my partitions therefor cannot see the files I put in them.

I will,and should have earlier, try the AIO toolkit and if that doesnt work will take it from there. Thanks!
22nd January 2014, 05:18 AM   |  #4  
BadAzDB's Avatar
Senior Member
Thanks Meter: 49
 
241 posts
Join Date:Joined: Sep 2013
Quote:
Originally Posted by moku160

I tried flashing from fastboot and it wont let me, "FAILED (remote: not allowed)". I cannot flash from the recovery menus because it cannot mount my partitions therefor cannot see the files I put in them.

I will,and should have earlier, try the AIO toolkit and if that doesnt work will take it from there. Thanks!

Also try deleting cache through fastboot. If nothing works you'll have to RUU

Sent from my HTC One using xda app-developers app
23rd January 2014, 08:05 AM   |  #5  
OP Member
Thanks Meter: 3
 
59 posts
Join Date:Joined: Nov 2006
More
Thank you for the help. Turned out i was trying to install the wrong recovery and thats why it wasnt mounting my partitions. Anyway got everything working now. Thank you!
23rd January 2014, 08:33 AM   |  #6  
Junior Member
Thanks Meter: 1
 
15 posts
Join Date:Joined: Jul 2008
Cost 4000JPY, how that guy did it?
23rd January 2014, 12:53 PM   |  #7  
OP Member
Thanks Meter: 3
 
59 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by huangda1982

Cost 4000JPY, how that guy did it?

No clue, just happy he could
26th January 2014, 11:49 AM   |  #8  
sitanshu91's Avatar
Senior Member
Flag mumbai
Thanks Meter: 29
 
272 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by moku160

No clue, just happy he could

I am on stock rom ver. 1.05.970 ...(4.1.2)
ccan you tell me how to upgrde (4.2.2) or latest

also can you tell me whether I can flash this HTL22_Global_Edition_2.24.973.1_htcsoku.zip mentioned in the website http://htcsoku.info/htcsokudev/2013d...lobal_edition/

thanks
1st February 2014, 03:49 PM   |  #9  
Junior Member
Flag Athens
Thanks Meter: 0
 
16 posts
Join Date:Joined: Jan 2014
Angry I wil tell you the procedure I made and it worked
If you dont change the cid KDDI_801 it gives you an error 170!So you can change it from fast boot typing:
fastboot oem readcid (to see the cid)
fastboot oem writecid (write the cid you want,choose one from this http://forum.xda-developers.com/show....php?t=2445289)
then just check again if this worked by typing:
fastboot oem readcid
Then go to htcdev and do the procedure.
I flashed it and installed the international version HTL22_Global_Edition_2.24.973.1_htcsoku.zip mentioned in the website http://htcsoku.info/htcsokudev/2013d...lobal_edition/
3rd February 2014, 07:39 PM   |  #10  
Junior Member
Thanks Meter: 3
 
16 posts
Join Date:Joined: Mar 2010
Quote:
Originally Posted by Funkyjohn

If you dont change the cid KDDI_801 it gives you an error 170!So you can change it from fast boot typing:
fastboot oem readcid (to see the cid)
fastboot oem writecid (write the cid you want,choose one from this http://forum.xda-developers.com/show....php?t=2445289)
then just check again if this worked by typing:
fastboot oem readcid
Then go to htcdev and do the procedure.
I flashed it and installed the international version HTL22_Global_Edition_2.24.973.1_htcsoku.zip mentioned in the website http://htcsoku.info/htcsokudev/2013d...lobal_edition/

Oop... that's stupid. You can't writecid via fastboot when the phone is S-ON.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes