FORUMS
Remove All Ads from XDA

Rooting Sony's e-reader DPT-RP1 and DPT-CP1

20 posts
Thanks Meter: 11
 
By sartrism, Junior Member on 11th August 2017, 05:55 AM
Post Reply Email Thread
21st November 2018, 05:16 AM |#121  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by p4s2wd

1. Launch the "Android setting" via a Launcher

2. Go to "System" and find "About phone"

3. Find "Build number", and click it in 7 times. The machines says you're the "Developer".

4. Back to "System", there is new Menu "Developer options" displayed.

5. Go to "Developer options", and find "USB debugging", enable it.

6. Connected the RP1 and PC via USB cable

7. On PC, run the adb devices, it will find the device.

8. With ADB, you can do anything you want

---------- Post added at 05:06 AM ---------- Previous post was at 05:02 AM ----------



The home button is defined from /etc/dp_extensions, you could copycat the "NoteList" into "Browser" as following
Browser_extension.xml
Browser_strings-en.xml
Browser_strings-en.xml.bak
Browser_strings-ja.xml
Browser_strings-zh_CN.xml
ic_homemenu_browser.png

The URI for Browser is component=com.android.browser/.BrowserActivity

Many thanks to this follow up, since I am also thinking about adding the default browser to my home screen.
Could you clarify on "copycat the "NoteList" into "Browser"?
Are these files you listed pre-existing files? And if so, where do I find them?
I am a bit confused about what this will actually do...
Thanks!
 
 
21st November 2018, 05:25 AM |#122  
Junior Member
Thanks Meter: 7
 
More
Quote:
Originally Posted by p4s2wd

1. Launch the "Android setting" via a Launcher

2. Go to "System" and find "About phone"

3. Find "Build number", and click it in 7 times. The machines says you're the "Developer".

4. Back to "System", there is new Menu "Developer options" displayed.

5. Go to "Developer options", and find "USB debugging", enable it.

6. Connected the RP1 and PC via USB cable

7. On PC, run the adb devices, it will find the device.

8. With ADB, you can do anything you want

---------- Post added at 05:06 AM ---------- Previous post was at 05:02 AM ----------



The home button is defined from /etc/dp_extensions, you could copycat the "NoteList" into "Browser" as following
Browser_extension.xml
Browser_strings-en.xml
Browser_strings-en.xml.bak
Browser_strings-ja.xml
Browser_strings-zh_CN.xml
ic_homemenu_browser.png

The URI for Browser is component=com.android.browser/.BrowserActivity

Interesting stuff! Taking notes now

---------- Post added at 01:24 PM ---------- Previous post was at 01:23 PM ----------

Quote:
Originally Posted by hdwrp

Could you please confirm DPT-RP1 with fully functional Android can connect to Bluetooth keyboard to type or to turn the PDF pages?
Thank you.

I only know Bluetooth works. I don't have a keyboard to test but I assume it works also. There's nothing preventing it working.

---------- Post added at 01:25 PM ---------- Previous post was at 01:24 PM ----------

Quote:
Originally Posted by Anti-paradox

Many thanks to this follow up, since I am also thinking about adding the default browser to my home screen.
Could you clarify on "copycat the "NoteList" into "Browser"?
Are these files you listed pre-existing files? And if so, where do I find them?
I am a bit confused about what this will actually do...
Thanks!

He meant you can use adb shell to get into device, and add an extra file named Browser to folder /etc/dp_extensions and use the similar contents in NoteList.
21st November 2018, 05:26 AM |#123  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Anti-paradox

Many thanks to this follow up, since I am also thinking about adding the default browser to my home screen.
Could you clarify on "copycat the "NoteList" into "Browser"?
Are these files you listed pre-existing files? And if so, where do I find them?
I am a bit confused about what this will actually do...
Thanks!

1. Boot rp1 into DIAG mode, and mount SYSTEM into /mnt/system

2. mkdir /mnt/system

3. mount -t ext4 -o rw /dev/mmcblk0p9 /mnt/system

4. cd /mnt/system/etc/dp_extensions

5. cp -pir NoteList Browser

6. cd Browser, and renamed all files under this folder as following:
Browser_extension.xml
Browser_strings-en.xml
Browser_strings-ja.xml
Browser_strings-zh_CN.xml
ic_homemenu_browser.png

7. Modify Browser_extension.xml and change "NoteList" with "Browser", and also change the URI value with "intent:#Intent;component=com.android.browser/.BrowserActivity;end", order with 7

8. Modify Browser_strings-en.xml and change "NoteList" with "Browser".

9. Reboot

10. Once the machine booted, process "Home" button, you will see the miracle
21st November 2018, 05:35 AM |#124  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by p4s2wd

1. Boot rp1 into DIAG mode, and mount SYSTEM into /mnt/system

2. mkdir /mnt/system

3. mount -t ext4 -o rw /dev/mmcblk0p9 /mnt/system

4. cd /mnt/system/etc/dp_extensions

5. cp -pir NoteList Browser

6. cd Browser, and renamed all files under this folder as following:
Browser_extension.xml
Browser_strings-en.xml
Browser_strings-ja.xml
Browser_strings-zh_CN.xml
ic_homemenu_browser.png

7. Modify Browser_extension.xml and change "NoteList" with "Browser", and also change the URI value with "intent:#Intent;component=com.android.browser/.BrowserActivity;end", order with 7

8. Modify Browser_strings-en.xml and change "NoteList" with "Browser".

9. Reboot

10. Once the machine booted, process "Home" button, you will see the miracle

Interesting, I see what you mean.
I suppose the first step, as you listed it, is to get rid of "read-only" state for the sys.
The question is, how would you Access RP1 and fix mount points?
Adb shell do not allow this in Diag mode, so I have to think of some of ways.
Any ideas?
Thanks
21st November 2018, 05:59 AM |#125  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Anti-paradox

Interesting, I see what you mean.
I suppose the first step, as you listed it, is to get rid of "read-only" state for the sys.
The question is, how would you Access RP1 and fix mount points?
Adb shell do not allow this in Diag mode, so I have to think of some of ways.
Any ideas?
Thanks

You can boot the rp1 into diag mode, you're the root in DIAG mode. You can mount the partition and change anything you want.
21st November 2018, 05:51 PM |#126  
Junior Member
Thanks Meter: 0
 
More
Dpt-rp1 emmc pin
Dpt-rp1 emmc pin
Attached Thumbnails
Click image for larger version

Name:	DPT-RP1EMMCPIN.jpg
Views:	152
Size:	232.2 KB
ID:	4648591   Click image for larger version

Name:	DPT-RP1EMMC.jpg
Views:	152
Size:	232.1 KB
ID:	4648599  
21st November 2018, 07:35 PM |#127  
Member
Thanks Meter: 6
 
More
Any way whoever has the taobao rooted DPT can post their dp_extensions folder? No matter what changes I make to mine, AppLauncher crashes on boot. (In fact, now it's crashing even after undoing all changes so I have to wipe and start over again...)
22nd November 2018, 06:44 AM |#128  
Senior Member
Thanks Meter: 24
 
More
Quote:
Originally Posted by chenzhongli

Dpt-rp1 emmc pin

Thank you! Can you explain what this is and how to use it?
22nd November 2018, 12:58 PM |#129  
Junior Member
Thanks Meter: 0
 
More
brick
hello, i do it follow your code, and I don't understand 6-9 how to use, then i reboot it, the restart remain"welcome" and could not login into the system, can you help me solve it? Thank u
Quote:
Originally Posted by p4s2wd

1. Boot rp1 into DIAG mode, and mount SYSTEM into /mnt/system

2. mkdir /mnt/system

3. mount -t ext4 -o rw /dev/mmcblk0p9 /mnt/system

4. cd /mnt/system/etc/dp_extensions

5. cp -pir NoteList Browser

6. cd Browser, and renamed all files under this folder as following:
Browser_extension.xml
Browser_strings-en.xml
Browser_strings-ja.xml
Browser_strings-zh_CN.xml
ic_homemenu_browser.png

7. Modify Browser_extension.xml and change "NoteList" with "Browser", and also change the URI value with "intent:#Intent;component=com.android.browser/.BrowserActivity;end", order with 7

8. Modify Browser_strings-en.xml and change "NoteList" with "Browser".

9. Reboot

10. Once the machine booted, process "Home" button, you will see the miracle



---------- Post added at 12:09 PM ---------- Previous post was at 11:16 AM ----------

Quote:
Originally Posted by yanzi

Download the following file:
Attachment 4648071

And do the following (in diagnosis mode):
```
mount /dev/mmcblk0p9 /mnt/Lucifer/
cd /mnt/Lucifer/bin
rm app_process
rm app_process32
rm app_process32_original
rm app_process_bak
rm app_process_init
ln -s /system/xbin/daemonsu /mnt/Lucifer/bin/app_process
ln -s /system/xbin/daemonsu /mnt/Lucifer/bin/app_process32
```

Then use the tool to upload file unzipped from above tar by:
```
push-file
> Local folder path: app_process_original
> DPT file path: /mnt/Lucifer/bin
```
Then:
```
cp /mnt/Lucifer/bin/app_process_original /mnt/Lucifer/bin/app_process_init
chown 0.2000 /mnt/Lucifer/bin/app_process_init
chmod 0755 /mnt/Lucifer/bin/app_process_init
```

This should solve the problem.

Hello,I use putty and did this step "ln -s /system/xbin/daemonsu /mnt/Lucifer/bin/app_process32", and I reboot the device, now the restart remain"welcome" and could not login into the system, can you help me solve it? Thank u

---------- Post added at 12:58 PM ---------- Previous post was at 12:09 PM ----------

Quote:
Originally Posted by silvertriclops

This tool is great! Not perfect and I had to do a few things manually though.

Anyway, I backed up my boot partition and flashed your modded one. Now I'm able to connect with adb shell, but the device itself never gets past the Welcome screen and pulls up the password prompt. Also su is not working, it just opens up another limited permission shell.

I meeted the same problem, did you solve it already?
23rd November 2018, 04:32 PM |#130  
Junior Member
Thanks Meter: 0
 
More
mount -t ext4 -o rw /dev/mmcblk0p9 /mnt/system
run ./usr/local/bin/factory_start.sh ./mnt/system/etc/FactoryReset.pkg
this could help to restore the system
23rd November 2018, 05:22 PM |#131  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by softtrain

mount -t ext4 -o rw /dev/mmcblk0p9 /mnt/system
run ./usr/local/bin/factory_start.sh ./mnt/system/etc/FactoryReset.pkg
this could help to restore the system

This won't restore system, it just wipes data. If you're getting stuck on the welcome spinner, you need to reset system.

You need the official FwUpdater.pkg (should be inside this zip https://github.com/Antiparadox/Sony-...ware%201.4.0.1) and the unzip keys (https://github.com/octavianx/Unpack-...rmware?files=1).

Method one: If you use a Unix PC (or windows with WSL) follow the instructions in the 2nd github to unpack the FwUpdater.png. Pull out system.img and use extract_sparse_file to flash it to the appropriate mmcblk.

Method two: Put FwUprater.pkg and the out folder with the keys on the device itself, and use start_eufwupdater.sh to run the update on the device. Do note that it will update, but the next time you boot into diag it'll update it again. So after running it, reboot back into diag so it can run the update again before you make any changes.

None of these should wipe your data but you may have to anyway because of encryption stuff. For that you want to use factory_reset.sh in diag, or do it manually.

Sorry I can't get the exact commands right now. I'm on my phone. I'll write a better tutorial once I get back to my laptop.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes