[N2E][1.0][1.0.1] TouchNooter 1.6.24

Search This thread

ros87

Senior Member
Oct 12, 2010
312
164
Bodø
In your normal phone, and I may have this wrong, it responds to the servers that it's a phone and therefore can be assigned an Android ID. On your normal unhacked framework.jar within the Nook Simple Touch, this doesn't exist, so Android ID doesn't properly get generated.

There are three pieces of info that Market asks for:

Android ID (Auto generated on first boot, also on the NST)
Phone Type (NST surprisingly returns GSM when asked for this)
Device ID (this is where it goes ka-blam as this is null on the NST)

getDeviceId() would normally return the IMEI for a GSM unit, but as there are nothing in the other end of the Radio Interface Layer on the NST this function returns null, and it it this function that is patched in the framework.

I've actually been looking into writing a dummy-ril for the NST as to avoid having to use a modified framework.
 

GabrialDestruir

Senior Member
Nov 12, 2009
650
514
California
There are three pieces of info that Market asks for:

Android ID (Auto generated on first boot, also on the NST)
Phone Type (NST surprisingly returns GSM when asked for this)
Device ID (this is where it goes ka-blam as this is null on the NST)

getDeviceId() would normally return the IMEI for a GSM unit, but as there are nothing in the other end of the Radio Interface Layer on the NST this function returns null, and it it this function that is patched in the framework.

I've actually been looking into writing a dummy-ril for the NST as to avoid having to use a modified framework.

Ah well, my understanding was always that android id thing was broken. The device gets patched framework.jar using the method I linked to previously and it works... but if we could find a way to make it work without a modified framework.jar maybe we could build a version of TouchNooter that persists between version updates?
 

ros87

Senior Member
Oct 12, 2010
312
164
Bodø
Ah well, my understanding was always that android id thing was broken. The device gets patched framework.jar using the method I linked to previously and it works... but if we could find a way to make it work without a modified framework.jar maybe we could build a version of TouchNooter that persists between version updates?

Looking at the updater-script for 1.0.1 doesn't leave much hope for a persistent TouchNooter :(

Code:
...
format("ext2", "/dev/block/mmcblk0p5");
mount("ext2", "/dev/block/mmcblk0p5", "/system");
...

And there's also the problem with uRamdisk being replaced by the update.
 

GabrialDestruir

Senior Member
Nov 12, 2009
650
514
California
I was unable to get TouchNooter to boot with the version of framework.jar posted earlier. I'm getting the black flashing screen boot loop. Not really sure what's causing this and have no way to adb in to find out. (My computer really doesn't like USB ADB) I may just release a Gapp-less version of touchnooter until I can figure it out.

Okay... maybe I'm just hitting some bad luck, but even after removing framework.jar from nooter I can't seem to get it to boot. Idk what's going on.
 

GabrialDestruir

Senior Member
Nov 12, 2009
650
514
California
Looking at the updater-script for 1.0.1 doesn't leave much hope for a persistent TouchNooter :(

Code:
...
format("ext2", "/dev/block/mmcblk0p5");
mount("ext2", "/dev/block/mmcblk0p5", "/system");
...

And there's also the problem with uRamdisk being replaced by the update.

Well, what I mean is persistent in the sense that one version could work across multiple versions of BN software.
 

nickveldrin

Senior Member
Jun 7, 2011
68
5
On your normal android device, you'll have something called an Android ID, this ID I think is connected to your Google account and allows you to access your services such as Gmail, and Market. In your normal phone, and I may have this wrong, it responds to the servers that it's a phone and therefore can be assigned an Android ID. On your normal unhacked framework.jar within the Nook Simple Touch, this doesn't exist, so Android ID doesn't properly get generated.

Without this Android ID, Gapps will not work, you won't be able to check Gmail, you won't be able to use market, etc. This framework.jar is only required if you want Gapps working. If you don't care about Gapps then you don't need it.

I see! That makes sense - thanks for explaining. I will wait patiently for a fix and will try again as more progress is made.
 

GabrialDestruir

Senior Member
Nov 12, 2009
650
514
California
Seems there's something else wrong with TouchNooter besides the framework, I'm going to have to rebuild it from the ground up for 1.1 It seems even without framework.jar somethings corrupting system so it won't boot.

Some bad news, it appears that there may be some sort of signature based protection on files in /system. I'm not sure how to confirm this, but it seems if I replace framework.jar it boot loops, if I modify build.prop without replacing framework.jar it also boot loops. If someone could verify this maybe with noogie? I can add files to /system/ but any modifications to an existing /system/ file causes a boot loop from what I can tell.
 
Last edited:
  • Like
Reactions: apeine and cymoze

apeine

Senior Member
Mar 9, 2011
268
31
Sao Paulo
Dear Fellows,

Kralik, a XDA user, having few posts, and being unable to post in the development forum, posted the following on Mobileread forum:

Link

Maybe it can help us get to a solution faster.
 

ros87

Senior Member
Oct 12, 2010
312
164
Bodø
If someone could verify this maybe with noogie? I can add files to /system/ but any modifications to an existing /system/ file causes a boot loop from what I can tell.

fwiw, I've also seen this behavior on 1.0.0 and 1.0.1 when replacing android system files on a fully running system. (dalvik cache?)

Just did a quick test on editing build.prop with noogie and then reboot.

Code:
#cat build.prop
...
ro.config.sync=yes
dalvik.vm.stack-trace-file=/data/anr/traces.txt

#Added by ros87
ro.dummy.test=hello
#

No problems with that.

Then I tried copying that patched framework.jar (again trough noogie) and rebooted.
As expected there were loads of complaints about incorrect dependency signatures by dalvik which would force it to rebuild cache.
In the end it booted just fine and on subsequent boots there's no complaints.
Unit works just fine with the patched framework, but I cannot confirm the patch itself working as I haven't tried installing gapps yet.

This is more or less the same behavior I've seen before which suggests to me there's nothing new and sinister added to 1.1 :)

---------- Post added at 12:39 PM ---------- Previous post was at 12:33 PM ----------

Update:

I quickly wrote a small app that displays AndroidID, Phone Type and Device ID

With the patched framework getDeviceID() now returns a 15 digit number instead of null, so this confirms it working as intended.

I'll try to set up market next.

---------- Post added at 12:45 PM ---------- Previous post was at 12:39 PM ----------

Update #2:

It's also worth noting that Device ID (IMEI) is regenerated on every call, which could cause trouble with certain apps.

This has been discussed before, just wanted to emphasize that this problem is still there with this patch.
 

niphoet

Senior Member
Jul 14, 2007
442
126
Amazon Fire TV
OnePlus 6
I rooted my 1.1.0 with the new ramdisk and I was successfully able to remove some files from/system, specifically the 2 "how-to" books included. I don't know if this helps or not.
 

GabrialDestruir

Senior Member
Nov 12, 2009
650
514
California
Odd, anytime I modify build.prop or replace framework.jar it sticks in a boot loop. Specifically it sticks in the same boot loop mentioned earlier about running an unmodified TouchNooter. (Flashing black every 5 seconds) and it just repeats and repeats and repeats, doesn't progress beyond this point.

I suppose if the issue is with replacing the files in a fully running system it's time to rewrite the uRamdisk used by TouchNooter. Fun Fun -sarcasm-
 
Last edited:

mali100

Senior Member
Jun 3, 2007
209
140
Update:

I quickly wrote a small app that displays AndroidID, Phone Type and Device ID

With the patched framework getDeviceID() now returns a 15 digit number instead of null, so this confirms it working as intended.

I'll try to set up market next.

Could you please upload that app?

---------- Post added at 05:19 PM ---------- Previous post was at 04:56 PM ----------

I suppose if the issue is with replacing the files in a fully running system it's time to rewrite the uRamdisk used by TouchNooter. Fun Fun -sarcasm-
Hi,
I have absolutely no problems modifying the files in the running system. Just tried it another time, adb pulled the build.prop, edited the file, remounted /system as rw, pushed it back, rebooted without problems. Also when i did the same thing with the framework.jar, i got no problems.
Can you get an adb logcat from the bootloop?
 

GabrialDestruir

Senior Member
Nov 12, 2009
650
514
California
Could you please upload that app?

---------- Post added at 05:19 PM ---------- Previous post was at 04:56 PM ----------


Hi,
I have absolutely no problems modifying the files in the running system. Just tried it another time, adb pulled the build.prop, edited the file, remounted /system as rw, pushed it back, rebooted without problems. Also when i did the same thing with the framework.jar, i got no problems.
Can you get an adb logcat from the bootloop?

If I could.... this would be a LOT simpler.
 

chriscsh

Senior Member
Aug 13, 2007
1,065
77
Hong Kong
Odd, anytime I modify build.prop or replace framework.jar it sticks in a boot loop. Specifically it sticks in the same boot loop mentioned earlier about running an unmodified TouchNooter. (Flashing black every 5 seconds) and it just repeats and repeats and repeats, doesn't progress beyond this point.

I suppose if the issue is with replacing the files in a fully running system it's time to rewrite the uRamdisk used by TouchNooter. Fun Fun -sarcasm-

i have replace the patch framework.jar and uRamdisk (only inside the nooter/boot, cause when i replace both uRamdisk, it can boot to the root forever screen, then boot to normal nook home, seem nothing happen :confused:) and it work fine for me
my problem is:
i can launch the youtube at first boot to add the google account, but after that when launch market and it show error "A server error has occurred. Retry, or cancel....." then youtube can't launch anymore

but other than that everything work fine
 

nickveldrin

Senior Member
Jun 7, 2011
68
5
i have replace the patch framework.jar and uRamdisk (only inside the nooter/boot, cause when i replace both uRamdisk, it can boot to the root forever screen, then boot to normal nook home, seem nothing happen :confused:) and it work fine for me
my problem is:
i can launch the youtube at first boot to add the google account, but after that when launch market and it show error "A server error has occurred. Retry, or cancel....." then youtube can't launch anymore

but other than that everything work fine

Same with me. Gmail seems to work okay now that i have that fixed framework.jar, but market behaves the same way as before.
 

GabrialDestruir

Senior Member
Nov 12, 2009
650
514
California
It seems, I cannot find a method in which to inject framework.jar and modify build.prop automatically without causing a bootloop, until I can it looks like TouchNooter is dead in the water.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    This will officially not work for 1.1



    • What it does:
      • Enables ADB via uRamdisk
      • Installs su and Superuser.apk
      • Installs Busybox
      • Installs Button Savior
      • Installs Go Launcher
      • Installs NookColor Tools (To Enable Non-Market Installs)
      • Installs Gapps (Gmail, Market, Youtube, Others)
    • System Files that get Modified:
      • /system/build.prop - Enabling Google Check In
      • packages.xml - Allows Gapps to install properly.
      • framework.jar - Should allow a proper Android ID to generate.
    • Changes:
      • June 24, 2011 -
        • Removed: Multitouch Permission
        • Added: Modified framework.jar
      • June 22, 2011 - Fixed: Script not running at boot.
      • June 20, 2011 - Initial Release
    • Before you begin:
      1. You must already have a registered Nook Simple Touch
      2. You must have a Gmail/Youtube linked Account. IF you used a Gmail account for B&N Registration you should use that one for this process.
      3. You must either have dd (Linux) or WinImage (Windows) software.
      4. You must have an external microSDCard reader or this will not work. Do NOT use the Nook Simple Touch.
      5. You must have enough intelligence to follow instructions.

    • Let's get started:
      1. Download TouchNooter from here: touchnooter-1-6-24.zip
      2. Linux: Unzip and use dd if=touchnooter-1-6-24.img of=/dev/sdcard
      3. Windows: Unzip and use WinImage to "Restore Virtual Hard Disk Image" to your SDcard.
      4. Windows Alternative: https://launchpad.net/win32-image-writer/+download
      5. Power off your Nook Simple Touch.
      6. Insert TouchNooter SDcard into your Nook Simple Touch.
      7. Power on your Nook Simple Touch.
      8. You should see the screen "Rooted Forever".
      9. It will boot like normal and you should be asked to select a launcher now. (If not use Button Savior to go home. This will bring up the launcher chooser.)
      10. That was the hard part, now to the simple stuff.
      11. Upon boot unlock your screen.
      12. At the Android Welcome Screen skip Sign In.
      13. Enable Location Services when given the option.
      14. Connect to Wifi and launch Youtube from Go Launcher's App Drawer (Or the App Drawer of your Choice).
      15. Click the Menu button (The right one in the middle of the status bar).
      16. Select "My Channel" and Login using your Gmail Account.
      17. Exit Youtube and Launch Gmail from "Extras".
      18. Sync your Gmail Account and Exit. (If it fails to sync that is fine.)
      19. Open up Market and Accept Terms and Service.
      20. If you made it this far your nook should be successfully Rooted. Go Download an App to make sure.
      21. Enable Non-Market Installs by running the NookColor Tools App.
      22. If your Youtube fails to launch Uninstall and Reinstall Youtube from /data/app
      23. Go to Settings > Device Info > SdCard > UnMount > Format

    • Thanks To:
      • Arnold Snarb - modified framework.jar
      • nemith - helping me figure out getting it to run at boot.
      • JesusFreke - For getting root.
      • MrMuffin - For the original Market Hack that we're using.
    • Currently Working On: TouchNooter 1.11.x
    4
    Hey Friends !
    Thanks a million Gabriel for such a wonderful Root. Going through this entire thread I've noticed that most noobs like me are having lots of issues to get this working. I think I've found a relatively simple way of getting the root and everything else to work. I am listing out some pointers below, I know most of you'll don't need this but this is just my 2 cents worth of contribution to the community.

    I am adding these pointers here so that people who have no clue what ADB is, can still use this wonderful root in a simple and easy to use manner.

    1. I am using my Nook in India and have registered it from here. The credit card details are required only if you plan to use the B&N store. Without entering credit card details, the nook registers just fine and u can read side loaded books.

    2. After you've registered your nook, This is very important please don't avoid this. please make a backup of the original ROM,the instructions are given here:

    http://forum.xda-developers.com/showthread.php?t=1142983

    Making this backup will help you if something goes amiss during this procedure and you can start with a fresh OS all over again. (It sure did help me)

    3. After Backing up the original ROM, you can start the rooting procedure. U can follow the instructions provided on page 1, or follow the video tutorial on this page:

    http://www.the-ebook-reader.com/nook-touch-root.html

    4. I suggest you dont change any apks in the TouchNooter image burnt on your SD card besides the gmail.apk with the one provided on the pack on this page:

    http://forum.xda-developers.com/showthread.php?t=1132693&page=8

    This gets your gmail app working perfectly.

    5. During rooting, after u see the 'rooted forever' screen, the nook seems to hang on loading screen with five dots for very long. I suggest you wait for 10 mins and if it has still not progressed further, restart your nook. That should fix it.

    6.After you have successfully rooted your device, you will notice that the market app is not searchable. You can solve this by downloading any filemanager from the market,
    Astrofile comes up easily in the productivity section.

    7. Now download the 'vending.apk' new market app from this thread:

    http://forum.xda-developers.com/showthread.php?t=992242

    copy this file to the root of your sd card. Then using astrofile, upgrade your current market install. That should get the market app working and searchable.

    8. The following applications are working perfectly fine for me,
    DocumentstoGo
    Aldiko
    Opera Mobile
    Juice Defender Ultimate.

    9. Dont change the default wallpaper of the root as getting a new one to scale properly is quite difficult with the launchers. Also there is no way to revert back to the default wallpaper.

    10. I am using a set of Black and white icons so that the screen looks beautiful.

    11. Using Juice defender in extreme profile, my battery has reduced from a full charge to 89% in 3 days. So the battery life seems pretty good.

    Hope you find my post useful.

    Thanks once again to all the active member in this thread to help me maximize the usage of such an awesome gadget.
    2
    Seems there's something else wrong with TouchNooter besides the framework, I'm going to have to rebuild it from the ground up for 1.1 It seems even without framework.jar somethings corrupting system so it won't boot.

    Some bad news, it appears that there may be some sort of signature based protection on files in /system. I'm not sure how to confirm this, but it seems if I replace framework.jar it boot loops, if I modify build.prop without replacing framework.jar it also boot loops. If someone could verify this maybe with noogie? I can add files to /system/ but any modifications to an existing /system/ file causes a boot loop from what I can tell.
    2
    However we still need a modded framework.jar so that it can be used in an updated version of TouchNooter.
    Patch information for framework.jar: http://forum.xda-developers.com/showthread.php?t=955847

    Hi,
    I patched the framework.jar, but had no time to test it. Hope it works.

    /edit: Tried it, and it works for me.
    br
    2
    Recovery.

    Turn off.
    Push power button and hold, then press and hold bottom left and right page buttons for 5 seconds.

    Image posted in this thread:
    http://forum.xda-developers.com/showpost.php?p=14940686&postcount=40